diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-14 15:09:10 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-14 15:09:10 +0100 |
commit | d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1 (patch) | |
tree | fed11a8c9c279f9fc437b01854d59ff1cf86c687 | |
parent | 575cece65ef25dbbba8c3508c97b8c57efbe148d (diff) | |
download | abuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.tar.gz abuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.tar.bz2 abuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.tar.xz abuild-d8dabed4aa0df31a18b9e682e1efe12e1d00b6d1.zip |
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.
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |