summaryrefslogtreecommitdiff
path: root/abicheck
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 14:40:42 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 14:40:42 +0100
commitf0e33f058a99b984611acf3fbffb4b37004296bf (patch)
tree1881bb7172d3264ecf44437e3ff3d3f1a0ced65a /abicheck
parent707bc26669bebe5ec4b5f11dc69ad42ca79a8d67 (diff)
abicheck: use absoute path for build too
Diffstat (limited to 'abicheck')
-rw-r--r--abicheck/apt_build.xml.in (renamed from abicheck/apt_build.xml)4
-rwxr-xr-xabicheck/run_abi_test3
2 files changed, 5 insertions, 2 deletions
diff --git a/abicheck/apt_build.xml b/abicheck/apt_build.xml.in
index e04113ea1..f7d4c90cf 100644
--- a/abicheck/apt_build.xml
+++ b/abicheck/apt_build.xml.in
@@ -3,9 +3,9 @@
</version>
<headers>
- ../build/include/apt-pkg
+ @build_path@/include/apt-pkg
</headers>
<libs>
- ../build/bin/
+ @build_path@/bin/
</libs>
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