summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-22 15:53:15 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-22 15:53:15 +0100
commitc148fa53dfeb831d05e4c9030a290a09051060cb (patch)
treefa9382ff379eb7e9514620c49a34a2b07dd0014a /include/git.sh
parent079afb5bd35a1150277fcff6ffeced964b9133f1 (diff)
git.sh: remove variable not meaningfully used
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh3
1 files changed, 1 insertions, 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"