git.sh: remove another meaningless check
again, the directory in question is simply used in a for loop using asterisk (git_am_patches) and the for loop simply won't iterate if either the directory doesn't exist or it contains no items. Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
fc3b0ba8bf
commit
0014269604
|
@ -121,7 +121,6 @@ patch_submodules()
|
|||
{
|
||||
mdir="${PWD}/config/submodule/$project"
|
||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||
[ -d "$mdir" ] || return 0
|
||||
|
||||
git -C "$tmpgit" submodule status | awk '{print $2}' > \
|
||||
"$tmpdir/modules" || $err "$mdir: cannot list submodules"
|
||||
|
|
Loading…
Reference in New Issue