summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-22 15:53:37 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-22 15:53:37 +0100
commitdae10dd48210fe26e79d5eea4e625c3041300e29 (patch)
tree7545c3d468b995f7ba5b991e91c53f685110e03b /include/git.sh
parentc148fa53dfeb831d05e4c9030a290a09051060cb (diff)
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>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index c28a02ad..46371f90 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -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"
}