瀏覽代碼

abicheck/run_abi_test: check both libapt-pkg and libapt-inst

Michael Vogt 16 年之前
父節點
當前提交
b8c42fc063
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      abicheck/run_abi_test

+ 1 - 1
abicheck/run_abi_test

@@ -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)