summaryrefslogtreecommitdiff
path: root/abicheck/run_abi_test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 14:19:40 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 14:19:40 +0100
commit707bc26669bebe5ec4b5f11dc69ad42ca79a8d67 (patch)
tree6f8642988198f92fe6b85266b5dfed7640133790 /abicheck/run_abi_test
parentd8cd04f8583b05076dafe34496b53731062b6060 (diff)
downloadapt-707bc26669bebe5ec4b5f11dc69ad42ca79a8d67.tar.gz
abicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name
Diffstat (limited to 'abicheck/run_abi_test')
-rwxr-xr-xabicheck/run_abi_test5
1 files changed, 5 insertions, 0 deletions
diff --git a/abicheck/run_abi_test b/abicheck/run_abi_test
index 120d0c641..8d4788ae7 100755
--- a/abicheck/run_abi_test
+++ b/abicheck/run_abi_test
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ ! -d ../build ]; then
+ echo "../build missing, did you run make?"
+ exit 1
+fi
+
LIBPATH=$(find /usr/lib/ -type f -name "libapt-pkg*")
sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml