From 70d036ade67d08ff193e9fd67a733473eac94936 Mon Sep 17 00:00:00 2001 From: nomennescio Date: Mon, 16 Oct 2023 13:38:34 +0200 Subject: [PATCH] Support potentially ancient sed versions --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9c0a8f2943..a421b84ecb 100755 --- a/build.sh +++ b/build.sh @@ -566,7 +566,7 @@ set_current_branch() { CURRENT_BRANCH="${CI_BRANCH}" else CURRENT_BRANCH_FULL=$(current_git_branch) - CURRENT_BRANCH=$($ECHO $CURRENT_BRANCH_FULL | sed -E 's=(heads|remotes)/==') + CURRENT_BRANCH=$($ECHO $CURRENT_BRANCH_FULL | sed 's=heads/==;s=remotes/==') fi } -- 2.34.1