jenkins.sh: Proper error message if local environment isn't set up

Change-Id: Ibb34f07164adb175a44f460d02f54586b56a5b95
This commit is contained in:
Harald Welte 2017-07-10 14:58:06 +02:00
parent 65529bc541
commit a06b877437
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
#!/bin/sh
# jenkins build helper script for libosmo-abis. This is how we build on jenkins.osmocom.org
if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then
echo "Error: We need to have scripts/osmo-deps.sh from http://git.osmocom.org/osmo-ci/ in PATH !"
exit 2
fi
set -ex