aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-10 15:00:00 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-10 15:00:00 +0200
commitbaff9c752e3e38581e32cc97bdb510394a34b608 (patch)
treefdf31bead6c0d886595d0b8927cbf9467acb1a2e
parenta6c6fa3a9a3195b35e7d2c93421f2b2eb46bac54 (diff)
jenkins.sh: Proper error message if local environment isn't set up
-rwxr-xr-xcontrib/jenkins.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 2fce993..5bb1020 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,11 @@
#!/usr/bin/env bash
+# jenkins build helper script for libosmo-netif. 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