mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-24 21:54:11 +02:00
git.sh: reduced indentation in fetch_submodule
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -125,7 +125,7 @@ fetch_submodule()
|
||||
[ ! -f "$mcfgdir/module.cfg" ] || . "$mcfgdir/module.cfg" || \
|
||||
$err "! . $mcfgdir/module.cfg"
|
||||
|
||||
if [ -n "$subrepo" ] || [ -n "$subrepo_bkup" ]; then
|
||||
[ -n "$subrepo" ] || [ -n "$subrepo_bkup" ] || return 0
|
||||
[ -n "$subrev" ] || $err "$1, $mdir: subrev not defined"
|
||||
|
||||
rm -Rf "$tmpgit/$1" || $err "!rm '$mdir' '$1'"
|
||||
@@ -136,7 +136,6 @@ fetch_submodule()
|
||||
[ -d "$tmpgit/$1" ] && break
|
||||
done
|
||||
[ -d "$tmpgit/$1" ] || $err "!clone $mod $project $mcfgdir $1"
|
||||
fi
|
||||
}
|
||||
|
||||
patch_submodule()
|
||||
|
||||
Reference in New Issue
Block a user