git.sh: warn when a cached clone fails
Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
9b1b955767
commit
0e0b12a630
|
@ -101,6 +101,8 @@ fetch_submodule()
|
|||
|
||||
tmpclone()
|
||||
{
|
||||
[ "$repofail" = "y" ] && \
|
||||
printf "Cached clone failed; trying online.\n" 1>&2
|
||||
repofail="n"
|
||||
|
||||
[ $# -lt 6 ] || rm -Rf "$3" || $err "git retry: !rm $3 ($1)"
|
||||
|
|
Loading…
Reference in New Issue