diff options
Diffstat (limited to 'include/git.sh')
-rwxr-xr-x | include/git.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh index 7f4b1f40..a6ce1cbf 100755 --- a/include/git.sh +++ b/include/git.sh @@ -141,6 +141,7 @@ git_am_patches() ) for patches in "${patchdir}/"*; do [ -L "${patches}" ] && continue - [ -d "${patches}" ] && git_am_patches "${sdir}" "${patches}" + [ ! -d "${patches}" ] && continue + git_am_patches "${sdir}" "${patches}" done } |