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
parent
20b076714c
commit
1458e1108e
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue