summaryrefslogtreecommitdiff
path: root/abicheck/run_abi_test
diff options
context:
space:
mode:
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