summaryrefslogtreecommitdiff
path: root/extras/keymap/findkeyboards
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-25 20:41:52 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-25 20:41:52 +0100
commitdd8a93e0d8d4db1810e8d0bc438c19c97876b810 (patch)
treee6e390763de74d35c089914cbb4bc76a0ffbced1 /extras/keymap/findkeyboards
parent80df994cc22eb7f98187df9bc2281c7fd7b96af7 (diff)
make: introduce --with-rootprefix=
Diffstat (limited to 'extras/keymap/findkeyboards')
-rwxr-xr-xextras/keymap/findkeyboards4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/keymap/findkeyboards b/extras/keymap/findkeyboards
index 537d163132..eba3737a96 100755
--- a/extras/keymap/findkeyboards
+++ b/extras/keymap/findkeyboards
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/usr/bin/env sh
# Find "real" keyboard devices and print their device path.
# Author: Martin Pitt <martin.pitt@ubuntu.com>
#
@@ -14,6 +14,8 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
+set -e
+
# returns OK if $1 contains $2
strstr() {
[ "${1#*$2*}" != "$1" ]