From 4639b8e84cf47899655bbe9f04279493ed99ee01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sat, 12 Dec 2009 16:06:08 +0100 Subject: Make --debbuildopts additive Change --debbuildopts to be additive and reset the list of options to the empty list if --debbuildopts "" is passed. Update docs and add NEWS entry. --- pdebuild-checkparams | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdebuild-checkparams') diff --git a/pdebuild-checkparams b/pdebuild-checkparams index e9a59af..8cd4563 100644 --- a/pdebuild-checkparams +++ b/pdebuild-checkparams @@ -42,7 +42,7 @@ while [ -n "$1" ]; do shift; shift; ;; --debbuildopts) - DEBBUILDOPTS="$2"; + DEBBUILDOPTS="${2:+$DEBBUILDOPTS $2}"; shift; shift; ;; --configfile) -- cgit v1.2.3