Allow $patch_args to pass multiple arguments to patch

This commit is contained in:
Andrej 2017-04-27 08:50:35 +02:00 committed by William Pitcock
parent 5268ae8076
commit 56355bff21
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ default_prepare() {
case ${i%::*} in case ${i%::*} in
*.patch) *.patch)
msg "${i%::*}" msg "${i%::*}"
patch "${patch_args:--p1}" -i "$srcdir/${i%::*}" || return 1 patch ${patch_args:--p1} -i "$srcdir/${i%::*}" || return 1
;; ;;
esac esac
done done