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