summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-05 19:13:41 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-05 19:13:41 +0100
commit1495719024cae87fd42167ec77691ebb64ba20d7 (patch)
tree2fe2069e9884e36a323957c68e1a8064447b1511 /extras
parent16ab1f22fc8aba4b526761df6246263d4df32343 (diff)
build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev
Diffstat (limited to 'extras')
-rwxr-xr-xextras/keymap/keyboard-force-release.sh.in2
-rw-r--r--extras/keymap/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/extras/keymap/keyboard-force-release.sh.in b/extras/keymap/keyboard-force-release.sh.in
index ce91a154b8..154be3d733 100755
--- a/extras/keymap/keyboard-force-release.sh.in
+++ b/extras/keymap/keyboard-force-release.sh.in
@@ -6,7 +6,7 @@
case "$2" in
/*) scf="$2" ;;
- *) scf="@libexecdir@/keymaps/force-release/$2" ;;
+ *) scf="@pkglibexecdir@/keymaps/force-release/$2" ;;
esac
read attr <"/sys/$1/force_release"
diff --git a/extras/keymap/keymap.c b/extras/keymap/keymap.c
index fadd7a31d2..79fd0599a9 100644
--- a/extras/keymap/keymap.c
+++ b/extras/keymap/keymap.c
@@ -423,7 +423,7 @@ int main(int argc, char **argv)
if (f) {
merge_table(fd, f);
} else {
- snprintf(keymap_path, sizeof(keymap_path), "%s%s", LIBEXECDIR "/keymaps/", filearg);
+ snprintf(keymap_path, sizeof(keymap_path), "%s%s", PKGLIBEXECDIR "/keymaps/", filearg);
f = fopen(keymap_path, "r");
if (f)
merge_table(fd, f);