diff options
author | Alexey Neyman <stilor@att.net> | 2018-04-29 22:04:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 22:04:23 (GMT) |
commit | 5c24106d3b6ddb5229874a74e3cfe0059fa8ce8d (patch) | |
tree | 6ae4685ef53ec2b10593fe19fc1397bc8619f311 /testing/docker/common-scripts | |
parent | 51f0e7c649a84c66ce0111703498dc4466e35562 (diff) | |
parent | 74979fb19b2c7220dab4196c0d34e0c29b341b09 (diff) |
Merge pull request #953 from stilor/docker-testing2
Docker configuration for Gentoo + a bunch of fixes
Diffstat (limited to 'testing/docker/common-scripts')
-rwxr-xr-x | testing/docker/common-scripts/su-as-user | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/docker/common-scripts/su-as-user b/testing/docker/common-scripts/su-as-user index 99246f2..436eb54 100755 --- a/testing/docker/common-scripts/su-as-user +++ b/testing/docker/common-scripts/su-as-user @@ -8,6 +8,7 @@ shift 4 groupadd -g ${gid} ${grp} useradd -d /home/${usr} -m -g ${gid} -u ${uid} ${usr} +rm -f /home/${usr}/src ln -sf /src /home/${usr}/src if [ -z "$*" ]; then exec su -l ${usr} |