]> https://gitweb.dealii.org/ - candi.git/commitdiff
bugfix: add missing cd .. for packing git
authorUwe Köcher <mail@uwe.koecher.cc>
Tue, 16 Oct 2018 18:22:48 +0000 (20:22 +0200)
committerUwe Köcher <mail@uwe.koecher.cc>
Tue, 16 Oct 2018 18:22:48 +0000 (20:22 +0200)
candi.sh

index a2adfeb270d8c7fd8650ef37e2641bcdec94bea7..a1cf055e8090e2c174b0a639e6521ffc9b73f6f7 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -349,6 +349,7 @@ package_fetch () {
             cd ${EXTRACTSTO}
             git checkout ${VERSION} --force
             quit_if_fail "candi: git checkout ${VERSION} --force failed"
+            cd ..
         fi
         
         # git cherry-pick on commits given by ${CHERRYPICKCOMMITS}
@@ -357,6 +358,7 @@ package_fetch () {
             cd ${EXTRACTSTO}
             git cherry-pick -X theirs ${CHERRYPICKCOMMITS}
             quit_if_fail "candi: git cherry-pick -X theirs ${CHERRYPICKCOMMITS} failed"
+            cd ..
         fi
 
     elif [ ${PACKING} = "hg" ]; then

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.