diff options
author | dancer <dancer> | 2005-12-01 00:01:28 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-12-01 00:01:28 +0000 |
commit | b5842d892aeb8b3db5882d8a9ba766bf063ddf45 (patch) | |
tree | 9ac6c77c8b4fbef959284080ea60227e95df1e86 /pbuilder-buildpackage | |
parent | 0516efa2744b59a9e9656dcc60a4680960d4cb9a (diff) | |
download | pbuilder-b5842d892aeb8b3db5882d8a9ba766bf063ddf45.tar pbuilder-b5842d892aeb8b3db5882d8a9ba766bf063ddf45.tar.gz |
preserve environment when su to root.
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 2 |
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 |