summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-06 23:17:33 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-06 23:17:33 +0100
commit5ebcae5235f6b4ec0781c34a7faef2bbbdc901e4 (patch)
treefb7b065c4b1e682d26a50a2cc4bfa07fac6a453f /include/git.sh
parent70cef71dbab96c4ea0134aa08c7ed91c42e19234 (diff)
lbmk: minor code formatting cleanup
some lines were needlessly condensed, and less readable Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rw-r--r--include/git.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 21a1f3b7..e5aa4861 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -51,12 +51,14 @@ git_prep()
chkvars rev; tmpclone "$1" "$2" "$tmpgit" "$rev" "$_patchdir"
if singletree "$project" || [ $# -gt 4 ]; then
- prep_submodules "$_loc"; fi
+ prep_submodules "$_loc"
+ fi
[ "$project" = "coreboot" ] && [ -n "$xtree" ] && [ $# -gt 2 ] && \
[ "$xtree" != "$tree" ] && link_crossgcc "$_loc"
[ "$XBMK_RELEASE" = "y" ] && \
- [ "$_loc" != "$XBMK_CACHE/repo/$project" ] && rmgit "$tmpgit"
+ [ "$_loc" != "$XBMK_CACHE/repo/$project" ] && \
+ rmgit "$tmpgit"
move_repo "$_loc"
}