mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
get.sh: reduce indendation in fetch_targets
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+5
-4
@@ -19,11 +19,12 @@ tmpgitcache="$xbtmp/tmpgit"
|
|||||||
|
|
||||||
fetch_targets()
|
fetch_targets()
|
||||||
{
|
{
|
||||||
if [ ! -d "src/$project/$tree" ]; then
|
if [ -d "src/$project/$tree" ]; then
|
||||||
git_prep "$url" "$bkup_url" \
|
return 0
|
||||||
"$xbmkpwd/$configdir/$tree/patches" \
|
|
||||||
"src/$project/$tree" "submod"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
git_prep "$url" "$bkup_url" "$xbmkpwd/$configdir/$tree/patches" \
|
||||||
|
"src/$project/$tree" "submod"
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_project()
|
fetch_project()
|
||||||
|
|||||||
Reference in New Issue
Block a user