Commit b7f2be0116524b2c80c24f5e21d26e7d1c884fd0

Authored by Jürgen Knödlseder
1 parent 08b6fbac

Revert Mac OS X package build script

Showing 1 changed file with 2 additions and 10 deletions
dev/pkgbuild-macosx.sh
... ... @@ -155,11 +155,7 @@ make clean
155 155 # ================ #
156 156 cd $SRCDIR
157 157 if [ ! -d "$GAMMALIB" ]; then
158   - if [[ $GAMMALIB == *"dev"* ]]; then
159   - command_that_does_not_exist_to_provoke_error
160   - else
161   - wget http://cta.irap.omp.eu/ctools/releases/gammalib/$GAMMALIB.tar.gz
162   - fi
  158 + wget http://cta.irap.omp.eu/ctools/releases/gammalib/$GAMMALIB.tar.gz
163 159 if [ "$?" -ne "0" ]; then
164 160 if [ ! -d "gammalib" ]; then
165 161 echo "*** Unable to download $GAMMALIB.tar.gz, try cloning from GitLab"
... ... @@ -215,11 +211,7 @@ make clean
215 211 cd $SRCDIR
216 212 CTOOLS_DIR=$CTOOLS
217 213 if [ ! -d "$CTOOLS" ]; then
218   - if [[ $CTOOLS == *"dev"* ]]; then
219   - command_that_does_not_exist_to_provoke_error
220   - else
221   - wget http://cta.irap.omp.eu/ctools/releases/ctools/$CTOOLS.tar.gz
222   - fi
  214 + wget http://cta.irap.omp.eu/ctools/releases/ctools/$CTOOLS.tar.gz
223 215 if [ "$?" -ne "0" ]; then
224 216 if [ ! -d "ctools" ]; then
225 217 echo "*** Unable to download $CTOOLS.tar.gz, try cloning from GitLab"
... ...