From f0e33f058a99b984611acf3fbffb4b37004296bf Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 18 Feb 2010 14:40:42 +0100 Subject: abicheck: use absoute path for build too --- abicheck/apt_build.xml | 11 ----------- abicheck/apt_build.xml.in | 11 +++++++++++ abicheck/run_abi_test | 3 +++ 3 files changed, 14 insertions(+), 11 deletions(-) delete mode 100644 abicheck/apt_build.xml create mode 100644 abicheck/apt_build.xml.in (limited to 'abicheck') diff --git a/abicheck/apt_build.xml b/abicheck/apt_build.xml deleted file mode 100644 index e04113ea1..000000000 --- a/abicheck/apt_build.xml +++ /dev/null @@ -1,11 +0,0 @@ - - build-branch - - - - ../build/include/apt-pkg - - - - ../build/bin/ - diff --git a/abicheck/apt_build.xml.in b/abicheck/apt_build.xml.in new file mode 100644 index 000000000..f7d4c90cf --- /dev/null +++ b/abicheck/apt_build.xml.in @@ -0,0 +1,11 @@ + + build-branch + + + + @build_path@/include/apt-pkg + + + + @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 -- cgit v1.2.3