Commit b7f2be0116524b2c80c24f5e21d26e7d1c884fd0
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,11 +155,7 @@ make clean | ||
| 155 | # ================ # | 155 | # ================ # |
| 156 | cd $SRCDIR | 156 | cd $SRCDIR |
| 157 | if [ ! -d "$GAMMALIB" ]; then | 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 | if [ "$?" -ne "0" ]; then | 159 | if [ "$?" -ne "0" ]; then |
| 164 | if [ ! -d "gammalib" ]; then | 160 | if [ ! -d "gammalib" ]; then |
| 165 | echo "*** Unable to download $GAMMALIB.tar.gz, try cloning from GitLab" | 161 | echo "*** Unable to download $GAMMALIB.tar.gz, try cloning from GitLab" |
| @@ -215,11 +211,7 @@ make clean | @@ -215,11 +211,7 @@ make clean | ||
| 215 | cd $SRCDIR | 211 | cd $SRCDIR |
| 216 | CTOOLS_DIR=$CTOOLS | 212 | CTOOLS_DIR=$CTOOLS |
| 217 | if [ ! -d "$CTOOLS" ]; then | 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 | if [ "$?" -ne "0" ]; then | 215 | if [ "$?" -ne "0" ]; then |
| 224 | if [ ! -d "ctools" ]; then | 216 | if [ ! -d "ctools" ]; then |
| 225 | echo "*** Unable to download $CTOOLS.tar.gz, try cloning from GitLab" | 217 | echo "*** Unable to download $CTOOLS.tar.gz, try cloning from GitLab" |