diff options
Diffstat (limited to 'extras/keymap/findkeyboards')
-rwxr-xr-x | extras/keymap/findkeyboards | 4 |
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" ] |