diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-14 14:51:07 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-14 14:51:07 +0100 |
commit | 5c38080a60d4565a8dd45f8eade565b9dffe1425 (patch) | |
tree | e70d6df01be4ad4565bece38a24f5d347309b133 /pbuilder-checkparams | |
parent | 5532052d53fd785a3cece61a7dd96daa6009a4e8 (diff) | |
download | pbuilder-5c38080a60d4565a8dd45f8eade565b9dffe1425.tar pbuilder-5c38080a60d4565a8dd45f8eade565b9dffe1425.tar.gz |
Avoid appending extra spaces in DEBBUILDOPTS
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 289ae38..37b8f42 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -143,7 +143,7 @@ while [ -n "$1" ]; do ;; --debbuildopts) # append to DEBBUILDOPTS or reset to empty if $2 isn't set - DEBBUILDOPTS="${2:+$DEBBUILDOPTS $2}"; + DEBBUILDOPTS="${2:+${DEBBUILDOPTS:+$DEBBUILDOPTS }$2}"; shift; shift; ;; --logfile) |