summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks')
-rwxr-xr-xhosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 53164831..bc769ef1 100755
--- a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -17,8 +17,8 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
echo "I: Changing /bin/sh to bash" >&2
echo "dash dash/sh boolean false" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
-echo "I: Setting user's login shell to /bin/bash" >&2
-usermod -s /bin/bash $BUILDUSERNAME
+echo "I: Setting $USER's login shell to /bin/bash" >&2
+usermod -s /bin/bash $USER
# temporarily disable disorderfs as we have problems properly unmounting it
exit 0