From 7266416702d6d83cd1a2bc3a7b3e579d711c83df Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 19 Nov 2009 22:02:25 -0500 Subject: Respect the --with-opkglibdir configure switch in update-alternatives. From John L. Chmielewski . git-svn-id: http://opkg.googlecode.com/svn/trunk@342 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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: $* -- cgit v0.9.1