From 037f2d0333692d9ef059c70105fd09c9d414273c Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Tue, 15 Apr 2025 12:25:19 +0000 Subject: [PATCH] chore(build): Bootstrap use current cranch --- build/bootstrap_mcs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/bootstrap_mcs.sh b/build/bootstrap_mcs.sh index 3dac08fd7..f05f4e654 100755 --- a/build/bootstrap_mcs.sh +++ b/build/bootstrap_mcs.sh @@ -31,6 +31,12 @@ if [ "$EUID" -ne 0 ]; then exit 1 fi +cd $SCRIPT_LOCATION +CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) +BRANCHES=($(git branch --list --no-color | grep "[^* ]+" -Eo)) + +cd - >/dev/null + echo "Arguments received: $@" message "Building Mariadb Server from $color_yellow$MDB_SOURCE_PATH$color_normal"