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 <leah@libreboot.org>
audit2
Leah Rowe 2024-07-18 23:11:45 +01:00 committed by Leah Rowe
parent 20b076714c
commit 1458e1108e
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ tmpclone()
x_ mkdir -p "cache/repo" x_ mkdir -p "cache/repo"
if [ -d "$repodir" ] && [ $# -lt 6 ]; then if [ -d "$repodir" ] && [ $# -lt 6 ]; then
git -C "$repodir" pull || sleep 3 || git -C "$repodir" pull \ git -C "$repodir" pull || sleep 3 || git -C "$repodir" pull \
|| sleep 3 || git -C "$repodir" pull : || sleep 3 || git -C "$repodir" pull || :
else else
git clone $1 "$repodir" || git clone $2 "$repodir" || \ git clone $1 "$repodir" || git clone $2 "$repodir" || \
$err "!clone $1 $2 $repodir $4 $5" $err "!clone $1 $2 $repodir $4 $5"