aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2002-02-19 19:03:49 +0000
committerdancer <dancer>2002-02-19 19:03:49 +0000
commit7caef5c3945932efaa41245126b678914267cf91 (patch)
treeca90cc8b7543ef9ae5b770ad3ecefa5cd5560d3d
parent09ebd2c9e696d73685f80897ccc74f388a1b8059 (diff)
downloadpbuilder-7caef5c3945932efaa41245126b678914267cf91.tar
pbuilder-7caef5c3945932efaa41245126b678914267cf91.tar.gz
fixing su - username to su username.
Env vars need to be preserved
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 05c68a7..088a27d 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -210,7 +210,7 @@ if [ ! -f "$PACKAGENAME" ]; then
fi;
if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
- SUTOUSER="HOME=/tmp/buildd su - $BUILDUSERNAME -- "
+ SUTOUSER="HOME=/tmp/buildd su $BUILDUSERNAME -- "
DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot"
echo "I: using fakeroot in build."
else