aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmocom-latest-packages.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-12-05 12:05:09 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-07 22:35:33 +0000
commit6655542cec3a2195d228e66ce065a61b496d4324 (patch)
tree170265c71c3f45ad8a3518db61751d890e84f361 /scripts/osmocom-latest-packages.sh
parent8bcebb535060cb8a02d399c24c01fd6841ab0093 (diff)
osmocom-nightly/latest: check if osc is installed
Diffstat (limited to 'scripts/osmocom-latest-packages.sh')
-rwxr-xr-xscripts/osmocom-latest-packages.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index bcc83de..bf20cfe 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -11,6 +11,11 @@ PROJ=network:osmocom:latest
DT=$(date +%Y%m%d)
TOP=$(pwd)
+if ! which osc >/dev/null 2>/dev/null ; then
+ echo "osc binary not found"
+ exit 1
+fi
+
# start with a checkout of the project
if [ -d $PROJ ]; then
(cd $PROJ && osc up)