From c148fa53dfeb831d05e4c9030a290a09051060cb Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 22 May 2024 15:53:15 +0100 Subject: git.sh: remove variable not meaningfully used Signed-off-by: Leah Rowe --- include/git.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/git.sh b/include/git.sh index 934976eb..c28a02ad 100755 --- a/include/git.sh +++ b/include/git.sh @@ -127,8 +127,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" -- cgit v1.2.1