mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
get.sh: simplify fetch_targets()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-3
@@ -10,9 +10,8 @@ tmpgitcache="$XBMK_CACHE/tmpgit"
|
||||
|
||||
fetch_targets()
|
||||
{
|
||||
e "src/$project/$tree" d && return 0
|
||||
git_prep "$url" "$bkup_url" "$xbmkpwd/$configdir/$tree/patches" \
|
||||
"src/$project/$tree" with_submodules
|
||||
[ -d "src/$project/$tree" ] || git_prep "$url" "$bkup_url" \
|
||||
"$xbmkpwd/$configdir/$tree/patches" "src/$project/$tree" submod; :
|
||||
}
|
||||
|
||||
fetch_project()
|
||||
|
||||
Reference in New Issue
Block a user