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>20240612_branch
parent
c148fa53df
commit
dae10dd482
|
@ -128,8 +128,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