aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2005-12-01 00:01:28 +0000
committerdancer <dancer>2005-12-01 00:01:28 +0000
commitb5842d892aeb8b3db5882d8a9ba766bf063ddf45 (patch)
tree9ac6c77c8b4fbef959284080ea60227e95df1e86 /pbuilder-buildpackage
parent0516efa2744b59a9e9656dcc60a4680960d4cb9a (diff)
downloadpbuilder-b5842d892aeb8b3db5882d8a9ba766bf063ddf45.tar
pbuilder-b5842d892aeb8b3db5882d8a9ba766bf063ddf45.tar.gz
preserve environment when su to root.
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 71c2c91..027c954 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -39,7 +39,7 @@ if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
echo "I: using fakeroot in build."
else
# run the build in root
- SUTOUSER="su "
+ SUTOUSER="su -p "
BUILDUSERID=0
BUILDUSERNAME=root
fi