aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index bb998f0..0ed9a4d 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -33,7 +33,7 @@ if [ ! -f "$PACKAGENAME" ]; then
fi;
if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
- SUTOUSER="HOME=/tmp/buildd su $BUILDUSERNAME -- "
+ SUTOUSER="su $BUILDUSERNAME -- "
DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot"
EXTRAPACKAGES="${EXTRAPACKAGES} fakeroot"
echo "I: using fakeroot in build."
@@ -44,6 +44,8 @@ else
BUILDUSERNAME=root
fi
+export HOME="/tmp/buildd"
+
showbuildbanner '$Id'
echobacktime
extractbuildplace