From: Lucas Di Pentima Date: Mon, 15 May 2023 13:24:00 +0000 (-0300) Subject: 20482: Makes installer.sh compatible with older (Ubuntu 18.04) git versions. X-Git-Tag: 2.7.0~108^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/refs/heads/20482-further-terraform-improvements 20482: Makes installer.sh compatible with older (Ubuntu 18.04) git versions. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- 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