get.sh: reduce indendation in fetch_targets

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-11-15 16:51:59 +00:00
parent 9d6af0063b
commit 214ed3efd2
+5 -4
View File
@@ -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()