From b7f2be0116524b2c80c24f5e21d26e7d1c884fd0 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sat, 25 Feb 2017 14:44:29 +0100 Subject: [PATCH] Revert Mac OS X package build script --- dev/pkgbuild-macosx.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/dev/pkgbuild-macosx.sh b/dev/pkgbuild-macosx.sh index 8af3014..57f6c60 100755 --- a/dev/pkgbuild-macosx.sh +++ b/dev/pkgbuild-macosx.sh @@ -155,11 +155,7 @@ make clean # ================ # cd $SRCDIR if [ ! -d "$GAMMALIB" ]; then - if [[ $GAMMALIB == *"dev"* ]]; then - command_that_does_not_exist_to_provoke_error - else - wget http://cta.irap.omp.eu/ctools/releases/gammalib/$GAMMALIB.tar.gz - fi + wget http://cta.irap.omp.eu/ctools/releases/gammalib/$GAMMALIB.tar.gz if [ "$?" -ne "0" ]; then if [ ! -d "gammalib" ]; then echo "*** Unable to download $GAMMALIB.tar.gz, try cloning from GitLab" @@ -215,11 +211,7 @@ make clean cd $SRCDIR CTOOLS_DIR=$CTOOLS if [ ! -d "$CTOOLS" ]; then - if [[ $CTOOLS == *"dev"* ]]; then - command_that_does_not_exist_to_provoke_error - else - wget http://cta.irap.omp.eu/ctools/releases/ctools/$CTOOLS.tar.gz - fi + wget http://cta.irap.omp.eu/ctools/releases/ctools/$CTOOLS.tar.gz if [ "$?" -ne "0" ]; then if [ ! -d "ctools" ]; then echo "*** Unable to download $CTOOLS.tar.gz, try cloning from GitLab" -- libgit2 0.21.4