diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-12-05 12:05:09 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-07 22:35:33 +0000 |
commit | 6655542cec3a2195d228e66ce065a61b496d4324 (patch) | |
tree | 170265c71c3f45ad8a3518db61751d890e84f361 /scripts/osmocom-nightly-packages.sh | |
parent | 8bcebb535060cb8a02d399c24c01fd6841ab0093 (diff) |
osmocom-nightly/latest: check if osc is installed
Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41
Diffstat (limited to 'scripts/osmocom-nightly-packages.sh')
-rwxr-xr-x | scripts/osmocom-nightly-packages.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh index a00cad1..c2b603b 100755 --- a/scripts/osmocom-nightly-packages.sh +++ b/scripts/osmocom-nightly-packages.sh @@ -9,6 +9,11 @@ if [ -n "$(ls)" ]; then exit 1 fi +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary not found" + exit 1 +fi + set -x -e git clone git://git.osmocom.org/osmo-sip-connector |