git.sh: remove meaningless check

in the function that immediately follows, it
starts two for loops that check every item in
that directory, using the asterisk wildcard.

if the directory does not exist, then the for
loop will simply break on first pass.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-22 15:53:37 +01:00 committed by Leah Rowe
parent 5c459ad4ac
commit 6693588857
1 changed files with 0 additions and 2 deletions

View File

@ -133,8 +133,6 @@ patch_submodules()
while read -r modsrcdir; do
modpatchdir="$moddir/${modsrcdir##*/}/patches"
[ -d "$modpatchdir" ] || continue
git_am_patches "$tmpgit/$modsrcdir" "$modpatchdir"
done < "$tmpdir/modules"
}