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-uml-checkparams | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdebuild-uml-checkparams') diff --git a/pdebuild-uml-checkparams b/pdebuild-uml-checkparams index 39727a0..fea4ff2 100644 --- a/pdebuild-uml-checkparams +++ b/pdebuild-uml-checkparams @@ -66,7 +66,7 @@ while [ -n "$1" ] ; do shift; ;; --debbuildopts) - DEBBUILDOPTS="$2"; + DEBBUILDOPTS="${2:+$DEBBUILDOPTS $2}"; shift; shift; ;; --buildresult) -- cgit v1.2.3