diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-17 04:22:03 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-17 04:22:03 +0100 |
commit | 39640d76a75098e7acf1cf2e3616978a5b0978f1 (patch) | |
tree | 079c8d26fb9b7f00f8018dd85bb4fe70431b6171 /include/git.sh | |
parent | c8dc701f3ebf3de75b4461e15f7324400240d064 (diff) |
lbmk: minor cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rw-r--r-- | include/git.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/git.sh b/include/git.sh index 42b04010..a30d3aa4 100644 --- a/include/git.sh +++ b/include/git.sh @@ -61,9 +61,8 @@ git_prep() [ "$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" ] && \ + [ "$XBMK_RELEASE" = "y" ] && rmgit "$tmpgit" move_repo "$_loc" } @@ -77,9 +76,8 @@ prep_submodules() fetch_submodule() { - mcfgdir="$mdir/${1##*/}" - eval "`setvars "" subhash subrepo subrepo_bkup subfile subfile_bkup \ - st`" + mcfgdir="$mdir/${1##*/}"; eval \ + "`setvars "" subhash subrepo subrepo_bkup subfile subfile_bkup st`" [ ! -f "$mcfgdir/module.cfg" ] || . "$mcfgdir/module.cfg" || \ $err "! . $mcfgdir/module.cfg" |