git.sh: remove variable not meaningfully used

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

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"