Commit d8dabed4 authored by Sören Tempel's avatar Sören Tempel

abuild: allow passing custom flags to patch(1) in prepare

To do so you need to set the patch_args variable to your desired
command line flags.
parent 575cece6
......@@ -535,7 +535,7 @@ default_prepare() {
case $i in
*.patch)
msg "$i"
patch -p1 -i "$srcdir/$i" || return 1
patch "${patch_args:--p1}" -i "$srcdir/$i" || return 1
;;
esac
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment