chiark / gitweb /
make: introduce --with-rootprefix=
[elogind.git] / extras / keymap / findkeyboards
index 537d1631329ef37cb1e748cec7786c82de1c5302..eba3737a96a309b1b627eab84c1a23d8db3424ca 100755 (executable)
@@ -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" ]