summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/git.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh
index afcfee93..14def209 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -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"