git.sh: remove variable not meaningfully used

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-05-22 15:53:15 +01:00 committed by Leah Rowe
parent 7be7bb8edb
commit 5c459ad4ac

View file

@ -132,8 +132,7 @@ patch_submodules()
"$tmpdir/modules" || $err "$moddir: cannot list submodules"
while read -r modsrcdir; do
modname="${modsrcdir##*/}"
modpatchdir="$moddir/$modname/patches"
modpatchdir="$moddir/${modsrcdir##*/}/patches"
[ -d "$modpatchdir" ] || continue
git_am_patches "$tmpgit/$modsrcdir" "$modpatchdir"