diff options
Diffstat (limited to 'include/git.sh')
-rwxr-xr-x | include/git.sh | 3 |
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" |