diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/git.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git.sh b/include/git.sh index f7026765..9a48023d 100755 --- a/include/git.sh +++ b/include/git.sh @@ -18,4 +18,10 @@ git_am_patches() fi done ) + for patches in "${patchdir}/"*; do + [ -L "${patches}" ] && continue + [ ! -d "${patches}" ] || \ + git_am_patches "${sdir}" "${patches}" "${_fail}" || \ + "${_fail}" "apply_patches: !${sdir}/ ${patches}/" + done } |