summaryrefslogtreecommitdiff
path: root/src/udev/generate-keyboard-keys-list.sh
diff options
context:
space:
mode:
authorbleep_blop <worz@tuta.io>2017-12-24 06:53:20 +0000
committerLennart Poettering <lennart@poettering.net>2017-12-25 19:48:49 +0100
commit7629744a3dbca313b55882d3a63135b2a9b27805 (patch)
treed8670d347cd248c7f95029c7122894eb4ed9828f /src/udev/generate-keyboard-keys-list.sh
parent977f65f01dadb501c6bd08990887eca655361e5e (diff)
downloadsystemd-7629744a3dbca313b55882d3a63135b2a9b27805.tar.gz
separate flags from shebang
Diffstat (limited to 'src/udev/generate-keyboard-keys-list.sh')
-rwxr-xr-xsrc/udev/generate-keyboard-keys-list.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/generate-keyboard-keys-list.sh b/src/udev/generate-keyboard-keys-list.sh
index 7a74e0dae1..c055f7c756 100755
--- a/src/udev/generate-keyboard-keys-list.sh
+++ b/src/udev/generate-keyboard-keys-list.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
$1 -dM -include linux/input.h - </dev/null | awk '
/\<(KEY_(MAX|MIN_INTERESTING))|(BTN_(MISC|MOUSE|JOYSTICK|GAMEPAD|DIGI|WHEEL|TRIGGER_HAPPY))\>/ { next }