[systemd-devel] [PATCH] udev/keymap: always use /bin/sh shebang
Dave Reisner
dreisner at archlinux.org
Fri Apr 6 06:47:33 PDT 2012
This matches what's done in the other shell scripts in this directory.
/bin/sh can never be wrong, but prepending the rootprefix will lead to
an invalid path with a rootprefix of /usr and --enable-split-usr.
---
src/udev/keymap/keyboard-force-release.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/udev/keymap/keyboard-force-release.sh.in b/src/udev/keymap/keyboard-force-release.sh.in
index dd040ce..597a3a6 100755
--- a/src/udev/keymap/keyboard-force-release.sh.in
+++ b/src/udev/keymap/keyboard-force-release.sh.in
@@ -1,4 +1,4 @@
-#!@rootprefix@/bin/sh -e
+#!/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
--
1.7.9.6
More information about the systemd-devel
mailing list