diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-12 16:06:08 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-12 16:06:08 +0100 |
commit | 4639b8e84cf47899655bbe9f04279493ed99ee01 (patch) | |
tree | 33172b1b9399c6b3ae1b67c14d2b67a070eaa423 /pdebuild-uml-checkparams | |
parent | 070f8c798b9b2d98ef98a8407b8812ce9ab745ad (diff) | |
download | pbuilder-4639b8e84cf47899655bbe9f04279493ed99ee01.tar pbuilder-4639b8e84cf47899655bbe9f04279493ed99ee01.tar.gz |
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.
Diffstat (limited to 'pdebuild-uml-checkparams')
-rw-r--r-- | pdebuild-uml-checkparams | 2 |
1 files changed, 1 insertions, 1 deletions
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) |