From f0e33f058a99b984611acf3fbffb4b37004296bf Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 18 Feb 2010 14:40:42 +0100 Subject: [PATCH] abicheck: use absoute path for build too --- abicheck/{apt_build.xml => apt_build.xml.in} | 4 ++-- abicheck/run_abi_test | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) rename abicheck/{apt_build.xml => apt_build.xml.in} (61%) diff --git a/abicheck/apt_build.xml b/abicheck/apt_build.xml.in similarity index 61% rename from abicheck/apt_build.xml rename to abicheck/apt_build.xml.in index e04113ea1..f7d4c90cf 100644 --- a/abicheck/apt_build.xml +++ b/abicheck/apt_build.xml.in @@ -3,9 +3,9 @@ - ../build/include/apt-pkg + @build_path@/include/apt-pkg - ../build/bin/ + @build_path@/bin/ diff --git a/abicheck/run_abi_test b/abicheck/run_abi_test index 8d4788ae7..609c710c4 100755 --- a/abicheck/run_abi_test +++ b/abicheck/run_abi_test @@ -8,4 +8,7 @@ fi LIBPATH=$(find /usr/lib/ -type f -name "libapt-pkg*") sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml +BUILDPATH=$(readlink -f ../build) +sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml + perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml -- 2.45.2