summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-14 15:09:10 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-14 15:09:10 +0100
commitd8dabed4aa0df31a18b9e682e1efe12e1d00b6d1 (patch)
treefed11a8c9c279f9fc437b01854d59ff1cf86c687 /abuild.in
parent575cece65ef25dbbba8c3508c97b8c57efbe148d (diff)
downloadabuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.tar.bz2
abuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.tar.xz
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.
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 949f8f7..5d4b74a 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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