From: Nicolas Boisselier Date: Sun, 13 Oct 2024 07:45:35 +0000 (+0200) Subject: bin/nb-repo-update X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=98ca76908fa5860d265b0ee45ccb7deae227d9a6;p=nb.git bin/nb-repo-update --- 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