From: Uwe Köcher Date: Tue, 16 Oct 2018 18:22:48 +0000 (+0200) Subject: bugfix: add missing cd .. for packing git X-Git-Tag: v9.0.1-r1~5^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=503337bc0bcc9983a243eca688eb52af878ec064;p=candi.git bugfix: add missing cd .. for packing git --- diff --git a/candi.sh b/candi.sh index a2adfeb..a1cf055 100755 --- 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