Skip to content
Snippets Groups Projects
Commit 6b2653f8 authored by Libreboot project's avatar Libreboot project Committed by Leah Rowe
Browse files

git.sh: warn when a cached clone fails


Signed-off-by: default avatarLeah Rowe <leah@libreboot.org>
parent 1458e110
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,8 @@ fetch_submodule() ...@@ -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)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment