From 42f0dae81bf17fc6776a52fa437e4636d9c442aa Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Tue, 22 Mar 2022 11:54:17 +0000 Subject: [PATCH] Current branch was not always correct --- build/bootstrap_mcs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/bootstrap_mcs.sh b/build/bootstrap_mcs.sh index e7f90f73a..2e6381562 100755 --- a/build/bootstrap_mcs.sh +++ b/build/bootstrap_mcs.sh @@ -62,7 +62,10 @@ select_branch() git config submodule.storage/columnstore/columnstore.update none cd - fi + + cd $SCRIPT_LOCATION CURRENT_BRANCH=$(git branch --show-current) + cd - message "Columnstore will be built from $color_yellow$CURRENT_BRANCH$color_normal branch" }