Show More
@@ -25,7 +25,11 b' DOCKER=$($BUILDDIR/hg-docker docker-path' | |||||
25 | # container and hope it's writable. Whee. |
|
25 | # container and hope it's writable. Whee. | |
26 | dn=$(basename $ROOTDIR) |
|
26 | dn=$(basename $ROOTDIR) | |
27 |
|
27 | |||
28 | DBUILDUSER=build |
|
28 | if [[ -z "${HG_DOCKER_OWN_USER:-}" ]]; then | |
|
29 | DBUILDUSER=build | |||
|
30 | else | |||
|
31 | DBUILDUSER="$(id -u):$(id -g)" | |||
|
32 | fi | |||
29 |
|
33 | |||
30 | if [ $(uname) = "Darwin" ] ; then |
|
34 | if [ $(uname) = "Darwin" ] ; then | |
31 | $DOCKER run -u $DBUILDUSER --rm -v $PWD/..:/mnt $CONTAINER \ |
|
35 | $DOCKER run -u $DBUILDUSER --rm -v $PWD/..:/mnt $CONTAINER \ |
General Comments 0
You need to be logged in to leave comments.
Login now