[pbuilder] 04/05: checkparams: make --extrapackages comulative
James Clarke
jrtc27 at moszumanska.debian.org
Fri Mar 10 17:03:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
jrtc27 pushed a commit to branch wip/next
in repository pbuilder.
commit d18d7efd7fd77b0baa756d8f63857f337ada0665
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sun Feb 12 00:21:37 2017 +0100
checkparams: make --extrapackages comulative
specifying --extrapackages multiple times will now add packages to the
list.
---
pbuilder-checkparams | 2 +-
pbuilder.8 | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 752a7de..84338cd 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -170,7 +170,7 @@ while [ -n "$1" ]; do
shift; shift;
;;
--extrapackages)
- EXTRAPACKAGES="$2";
+ EXTRAPACKAGES="${EXTRAPACKAGES:+$EXTRAPACKAGES }$2";
shift; shift;
;;
--hookdir)
diff --git a/pbuilder.8 b/pbuilder.8
index 8ca5f13..e7f9d0c 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -638,7 +638,8 @@ and
and
.BR "update" .
-The packages should be specified as a space-delimited list.
+The packages should be specified as a space-delimited list, or by specifying
+\-\-extrapcakges multiple times.
.TP
.BI "\-\-debemail [" "maintainer-name <email-address>" "]"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list