From 98ca76908fa5860d265b0ee45ccb7deae227d9a6 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 13 Oct 2024 09:45:35 +0200 Subject: [PATCH] bin/nb-repo-update --- bin/nb-repo-update | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/nb-repo-update b/bin/nb-repo-update index 42f7ae1d..ccafd83f 100755 --- a/bin/nb-repo-update +++ b/bin/nb-repo-update @@ -101,7 +101,6 @@ trap "exec {F_INDENT1}>&-; exec {F_INDENT2}>&-; rm -f '$TMP'" EXIT #---------------------------------------------------------- # Git pull # -#REPO_BRANCH=$(git branch --show-current) || exit REPO_BRANCH=$(git branch|awk 'BEGIN{ex=1}/^\*/{print $2;ex=0}END{exit ex}') || exit [ -n "$REPO_BRANCH" ] || exit -- 2.47.3