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
parent
5c459ad4ac
commit
6693588857
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue