diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-22 11:00:01 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-22 11:36:53 +0200 |
commit | a36c355462fa1e987ac7dc338da5b839158171bb (patch) | |
tree | 7f808da3f1eb6299fdd23d6cb5cfca41d3917be0 /scripts/osmocom-latest-packages.sh | |
parent | 4969d2b1163bbecd6ad43e4a1497ed33dc3adafb (diff) |
OBS: check required programs before start
osmocom-*-packages.sh take some time to execute and has quite a few
programs that are not commonly installed. Check the required
dependencies first, so it doesn't abort in the middle of the scripts if
these are missing. I just ran into this with the new meson dependency.
Change-Id: I46cf1aeedd61dbd4fc8fa3f24c60e29033339ead
Diffstat (limited to 'scripts/osmocom-latest-packages.sh')
-rwxr-xr-x | scripts/osmocom-latest-packages.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 88c5094..ddf5359 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -15,11 +15,6 @@ DT=$(date +%Y%m%d) TOP=$(pwd) DEBSRCDIR="$TOP/debsrc" -if ! which osc >/dev/null 2>/dev/null ; then - echo "osc binary not found" - exit 1 -fi - ### OBS build prepare() { # start with a checkout of the project |