From a41f9063ccd720d398a1511c4219535311ba91ad Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Mon, 15 May 2023 10:24:00 -0300 Subject: [PATCH] 20482: Makes installer.sh compatible with older (Ubuntu 18.04) git versions. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- tools/salt-install/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh index e5aff213ee..5a55e337da 100755 --- a/tools/salt-install/installer.sh +++ b/tools/salt-install/installer.sh @@ -264,7 +264,7 @@ case "$subcmd" in exit 1 fi - BRANCH=$(git branch --show-current) + BRANCH=$(git rev-parse --abbrev-ref HEAD) set -x -- 2.30.2