From 9b1b955767fc2e750095d302aa4f95680e2cfacb Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 18 Jul 2024 23:11:45 +0100 Subject: git.sh: fix typo in git command the || : condition should be used, whereas i just wrote : by mistake. this was done in a previous change. fix it now. Signed-off-by: Leah Rowe --- include/git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/git.sh b/include/git.sh index 24907a8d..43a45434 100644 --- a/include/git.sh +++ b/include/git.sh @@ -108,7 +108,7 @@ tmpclone() x_ mkdir -p "cache/repo" if [ -d "$repodir" ] && [ $# -lt 6 ]; then git -C "$repodir" pull || sleep 3 || git -C "$repodir" pull \ - || sleep 3 || git -C "$repodir" pull : + || sleep 3 || git -C "$repodir" pull || : else git clone $1 "$repodir" || git clone $2 "$repodir" || \ $err "!clone $1 $2 $repodir $4 $5" -- cgit v1.2.1