]> git.saurik.com Git - apt.git/commitdiff
abicheck/run_abi_test: check both libapt-pkg and libapt-inst
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)
abicheck/run_abi_test

index 609c710c405260634ba68083aec8abc2b60d5552..4e4bdf29800a20bbf872c75c5d577ed761f78e71 100755 (executable)
@@ -5,7 +5,7 @@ if [ ! -d ../build ]; then
        exit 1
 fi
 
-LIBPATH=$(find /usr/lib/ -type f  -name "libapt-pkg*")
+LIBPATH=$(find /usr/lib/ -type f  -name "libapt-*.so.*" -printf %p\\\\n)
 sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
 
 BUILDPATH=$(readlink -f ../build)