summaryrefslogtreecommitdiff
path: root/extras/keymap
diff options
context:
space:
mode:
Diffstat (limited to 'extras/keymap')
-rwxr-xr-xextras/keymap/check-keymaps.sh2
-rwxr-xr-xextras/keymap/findkeyboards4
-rwxr-xr-x[-rw-r--r--]extras/keymap/keyboard-force-release.sh.in2
3 files changed, 5 insertions, 3 deletions
diff --git a/extras/keymap/check-keymaps.sh b/extras/keymap/check-keymaps.sh
index df18c3f488..350a857171 100755
--- a/extras/keymap/check-keymaps.sh
+++ b/extras/keymap/check-keymaps.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# check that all key names in keymaps/* are known in <linux/input.h>
# and that all key maps listed in the rules are valid and present in
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" ]
diff --git a/extras/keymap/keyboard-force-release.sh.in b/extras/keymap/keyboard-force-release.sh.in
index 05dd5da2e0..ce91a154b8 100644..100755
--- a/extras/keymap/keyboard-force-release.sh.in
+++ b/extras/keymap/keyboard-force-release.sh.in
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!@rootprefix@/bin/sh -e
# read list of scancodes, convert hex to decimal and
# append to the atkbd force_release sysfs attribute
# $1 sysfs devpath for serioX