From 503337bc0bcc9983a243eca688eb52af878ec064 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Tue, 16 Oct 2018 20:22:48 +0200 Subject: [PATCH] bugfix: add missing cd .. for packing git --- candi.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5