From 5ebcae5235f6b4ec0781c34a7faef2bbbdc901e4 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 6 Apr 2025 23:17:33 +0100 Subject: lbmk: minor code formatting cleanup some lines were needlessly condensed, and less readable Signed-off-by: Leah Rowe --- include/git.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/git.sh') 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" } -- cgit v1.2.1