git.sh: use setvars for fail variables
Signed-off-by: Leah Rowe <leah@libreboot.org>25.04_branch^2
parent
7b2671ea26
commit
a5c5089eda
|
@ -92,9 +92,7 @@ tmpclone()
|
|||
livepull="n" && [ "$repofail" = "y" ] && \
|
||||
printf "Cached clone failed; trying online.\n" 1>&2 && livepull="y"
|
||||
|
||||
resetfail="n"
|
||||
repofail="n"
|
||||
amfail="n"
|
||||
eval "`setvars "n" resetfail repofail amfail`"
|
||||
|
||||
[ $# -lt 6 ] || rm -Rf "$3" || err "git retry: !rm $3 ($1)"
|
||||
repodir="$XBMK_CACHE/repo/${1##*/}" && [ $# -gt 5 ] && repodir="$3"
|
||||
|
|
Loading…
Reference in New Issue