summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--[-rwxr-xr-x]utils/update-alternatives.in (renamed from utils/update-alternatives)2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c238e1b..f97a1c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -260,5 +260,6 @@ AC_OUTPUT(
src/Makefile
libbb/Makefile
utils/Makefile
+ utils/update-alternatives
libopkg.pc
)
diff --git a/utils/update-alternatives b/utils/update-alternatives.in
index 4983e19..a49cc09 100755..100644
--- a/utils/update-alternatives
+++ b/utils/update-alternatives.in
@@ -21,7 +21,7 @@
set -e
# admin dir
-ad="$OPKG_OFFLINE_ROOT/usr/lib/opkg/alternatives"
+ad="$OPKG_OFFLINE_ROOT@opkglibdir@/opkg/alternatives"
usage() {
echo "update-alternatives: $*