mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
git.sh: don't initialise livepull globally
set this variable in the tmpclone function. otherwise, certain submodules might always download every time, when handling multiple projects. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -91,10 +91,9 @@ fetch_submodule()
|
||||
"$mdir/${1##*/}/patches"
|
||||
}
|
||||
|
||||
livepull="n"
|
||||
tmpclone()
|
||||
{
|
||||
[ "$repofail" = "y" ] && \
|
||||
livepull="n" && [ "$repofail" = "y" ] && \
|
||||
printf "Cached clone failed; trying online.\n" 1>&2 && livepull="y"
|
||||
|
||||
repofail="n"
|
||||
|
||||
Reference in New Issue
Block a user