mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +02:00
git.sh: merge patch_submodules in prep_submodules
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -118,11 +118,6 @@ prep_submodules()
|
|||||||
[ ! -f "$tmpgit/.gitmodules" ] || git -C "$tmpgit" submodule \
|
[ ! -f "$tmpgit/.gitmodules" ] || git -C "$tmpgit" submodule \
|
||||||
update --init --checkout || $err "git_prep $1: !submod"
|
update --init --checkout || $err "git_prep $1: !submod"
|
||||||
|
|
||||||
patch_submodules
|
|
||||||
}
|
|
||||||
|
|
||||||
patch_submodules()
|
|
||||||
{
|
|
||||||
mdir="${PWD}/config/submodule/$project"
|
mdir="${PWD}/config/submodule/$project"
|
||||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user