diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-25 20:41:52 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-25 20:41:52 +0100 |
commit | dd8a93e0d8d4db1810e8d0bc438c19c97876b810 (patch) | |
tree | e6e390763de74d35c089914cbb4bc76a0ffbced1 /extras/keymap/findkeyboards | |
parent | 80df994cc22eb7f98187df9bc2281c7fd7b96af7 (diff) |
make: introduce --with-rootprefix=
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" ] |