diff options
author | dancer <dancer> | 2002-02-19 19:03:49 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-02-19 19:03:49 +0000 |
commit | 7caef5c3945932efaa41245126b678914267cf91 (patch) | |
tree | ca90cc8b7543ef9ae5b770ad3ecefa5cd5560d3d | |
parent | 09ebd2c9e696d73685f80897ccc74f388a1b8059 (diff) | |
download | pbuilder-7caef5c3945932efaa41245126b678914267cf91.tar pbuilder-7caef5c3945932efaa41245126b678914267cf91.tar.gz |
fixing su - username to su username.
Env vars need to be preserved
-rwxr-xr-x | pbuilder-buildpackage | 2 |
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 |