[pbuilder] 05/06: checkparams: make --extrapackages cumulative
Mattia Rizzolo
mattia at debian.org
Sun Mar 12 09:12:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch wip/next
in repository pbuilder.
commit e933c5ee0371563df25786af8955654b548296fa
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sun Feb 12 00:21:37 2017 +0100
checkparams: make --extrapackages cumulative
Specifying --extrapackages multiple times will now add packages to the
list.
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
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..7ed1296 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
+\-\-extrapackages 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