aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-internal
diff options
context:
space:
mode:
Diffstat (limited to 'pdebuild-internal')
-rw-r--r--pdebuild-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdebuild-internal b/pdebuild-internal
index 5b77a32..9c41931 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -46,8 +46,8 @@ function log() {
while [ -n "$1" ]; do
case "$1" in
--debbuildopts)
- log "I: Setting DEBBUILDOPTS=$2"
- DEBBUILDOPTS="$2"
+ DEBBUILDOPTS="${2:+$DEBBUILDOPTS $2}";
+ log "I: Setting DEBBUILDOPTS=$DEBBUILDOPTS"
shift; shift;
;;
--uid)