mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +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()
|
fetch_targets()
|
||||||
{
|
{
|
||||||
e "src/$project/$tree" d && return 0
|
[ -d "src/$project/$tree" ] || git_prep "$url" "$bkup_url" \
|
||||||
git_prep "$url" "$bkup_url" "$xbmkpwd/$configdir/$tree/patches" \
|
"$xbmkpwd/$configdir/$tree/patches" "src/$project/$tree" submod; :
|
||||||
"src/$project/$tree" with_submodules
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_project()
|
fetch_project()
|
||||||
|
|||||||
Reference in New Issue
Block a user