aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-14 14:51:07 +0100
committerLoïc Minier <lool@dooz.org>2009-12-14 14:51:07 +0100
commit5c38080a60d4565a8dd45f8eade565b9dffe1425 (patch)
treee70d6df01be4ad4565bece38a24f5d347309b133 /pbuilder-buildpackage
parent5532052d53fd785a3cece61a7dd96daa6009a4e8 (diff)
downloadpbuilder-5c38080a60d4565a8dd45f8eade565b9dffe1425.tar
pbuilder-5c38080a60d4565a8dd45f8eade565b9dffe1425.tar.gz
Avoid appending extra spaces in DEBBUILDOPTS
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 18678af..293eecf 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -33,7 +33,7 @@ fi;
if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
SUTOUSER="env LOGNAME=$BUILDUSERNAME su -p $BUILDUSERNAME"
- DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot"
+ DEBBUILDOPTS="${DEBBUILDOPTS:+$DEBBUILDOPTS }-rfakeroot"
EXTRAPACKAGES="${EXTRAPACKAGES} fakeroot"
log "I: using fakeroot in build."
else