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