From 1495719024cae87fd42167ec77691ebb64ba20d7 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 5 Jan 2012 19:13:41 +0100 Subject: build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev --- extras/keymap/keyboard-force-release.sh.in | 2 +- extras/keymap/keymap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extras') 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); -- cgit v1.2.3-54-g00ecf