summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-09-16 13:10:46 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-09-16 13:10:46 +0200
commitb7860f5750a51a6ad13ad81252fa151b44bfcb75 (patch)
tree3bd6315ef18d716dad882a563d67a8d4fd2bfe49 /docker
parent9435c52737dada1a74f8d49edd7a451e4f9b61cb (diff)
Use HOME for the new user. Don't create a new shell and loose the tty.
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/enter-build-container-internal.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/enter-build-container-internal.sh b/docker/enter-build-container-internal.sh
index c28837583e0..19991db84dd 100755
--- a/docker/enter-build-container-internal.sh
+++ b/docker/enter-build-container-internal.sh
@@ -29,8 +29,8 @@ su -c "mkdir -p $DIR/../.ccache" - $USERNAME
su -c "ln -sf $DIR/../.ccache \$HOME/.ccache" - $USERNAME
su -c "mkdir -p $DIR/../.m2" - $USERNAME
-su -c "ln -sf $DIR/../.m2 $HOME/.m2" - $USERNAME
+su -c "ln -sf $DIR/../.m2 \$HOME/.m2" - $USERNAME
cd $DIR/..
-su -c "cd $DIR/.. && /bin/bash" - $USERNAME
+su $USERNAME