From d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Mon, 14 Mar 2016 15:09:10 +0100 Subject: 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. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abuild.in') 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 -- cgit v1.2.3-60-g2f50