git.sh: merge patch_submodules in prep_submodules
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
9c0a7f14fc
commit
7f82622caf
|
@ -123,11 +123,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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue