get.sh: reduce indentation in clone_project

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-11-15 16:51:10 +00:00
parent d7869a56f5
commit 9d6af0063b
+5 -4
View File
@@ -53,7 +53,10 @@ fetch_project()
clone_project()
{
if singletree "$project"; then
if ! singletree "$project"; then
return 0
fi
loc="src/$project"
if [ -d "$loc" ]; then
@@ -61,9 +64,7 @@ clone_project()
fi
remkdir "${tmpgit%/*}"
git_prep "$url" "$bkup_url" \
"$xbmkpwd/config/$project/patches" "$loc"
fi
git_prep "$url" "$bkup_url" "$xbmkpwd/config/$project/patches" "$loc"
}
git_prep()