aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-27 16:18:26 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-27 16:18:26 +0900
commit78e0322ace6d4748cfe0eac806205a23bbc6d63e (patch)
treebee4f1275c1a1a8546c0fe419a2db1dea1c3fd00 /pbuilder-buildpackage-funcs
parent1b14e2b043dc5f4813961fff08c62583127ccde6 (diff)
downloadpbuilder-78e0322ace6d4748cfe0eac806205a23bbc6d63e.tar
pbuilder-78e0322ace6d4748cfe0eac806205a23bbc6d63e.tar.gz
try setting LOGNAME when user is already created
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index d220c76..62726b0 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -94,7 +94,7 @@ function createbuilduser () {
cowprotect $BUILDPLACE/etc/shadow
echo "$BUILDUSERNAME:!:::::::" >> $BUILDPLACE/etc/shadow
fi
- unset LOGNAME || true
+ export LOGNAME="${BUILDUSERNAME}"
else
unset LOGNAME || true
fi