Commit a5805388a73d765f27ea666e5e3cc3d39221e5ba

Authored by Jürgen Knödlseder
1 parent c0738cc6

Correct package build script for release

Showing 1 changed file with 5 additions and 1 deletions
dev/pkgbuild-macosx.sh
... ... @@ -174,10 +174,12 @@ if [ ! -d "$GAMMALIB" ]; then
174 174 rm -rf $GAMMALIB.tar.gz
175 175 cd $GAMMALIB
176 176 fi
  177 +else
  178 + cd $GAMMALIB
177 179 fi
178 180 # If we got code from GitLab, then try using release branch, and if not
179 181 # available, use devel branch.
180   -USE_BRANCH=
  182 +USE_BRANCH=release
181 183 if [ -d ".git" ]; then
182 184 git fetch
183 185 git checkout release
... ... @@ -231,6 +233,8 @@ if [ ! -d "$CTOOLS" ]; then
231 233 rm -rf $CTOOLS.tar.gz
232 234 cd $CTOOLS
233 235 fi
  236 +else
  237 + cd $CTOOLS
234 238 fi
235 239 # If we got code from GitLab, then use the same branch that was used for
236 240 # GammaLib
... ...