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

View File

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