File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
standalone-contract/scripts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ if [[ "${SUDO}" = "yes" ]]; then
62
62
PREFIX=" sudo"
63
63
fi
64
64
65
- $PREFIX $DOCKER run --rm $PROXY_ARGS -v ` pwd` :/code $DOCKER_IMAGE make $TASKS
65
+ $PREFIX $DOCKER run --rm $DOCKER_RUN_ARGS $ PROXY_ARGS -v ` pwd` :/code $DOCKER_IMAGE make $TASKS
66
66
# Reset file ownerships for all files docker might touch
67
- sudo chown -R -f ` id -u` : ` id -g` checksums.txt build target
67
+ $PREFIX $DOCKER run --rm $DOCKER_RUN_ARGS $PROXY_ARGS -e UID= ` id -u` -e GID= ` id -g` -v ` pwd ` :/code $DOCKER_IMAGE bash -c ' chown -R -f $UID:$GID checksums.txt build target'
68
68
69
69
if [[ " ${UPDATE} " = " yes" ]]; then
70
70
echo " ${CHECKSUM_FILE_PATH} file is updated with latest binary hashes!"
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ if [[ "${SUDO}" = "yes" ]]; then
62
62
PREFIX=" sudo"
63
63
fi
64
64
65
- $PREFIX $DOCKER run --rm $PROXY_ARGS -v ` pwd` :/code $DOCKER_IMAGE make $TASKS
65
+ $PREFIX $DOCKER run --rm $DOCKER_RUN_ARGS $ PROXY_ARGS -v ` pwd` :/code $DOCKER_IMAGE make $TASKS
66
66
# Reset file ownerships for all files docker might touch
67
- sudo chown -R -f ` id -u` : ` id -g` checksums.txt build target
67
+ $PREFIX $DOCKER run --rm $DOCKER_RUN_ARGS $PROXY_ARGS -e UID= ` id -u` -e GID= ` id -g` -v ` pwd ` :/code $DOCKER_IMAGE bash -c ' chown -R -f $UID:$GID checksums.txt build target'
68
68
69
69
if [[ " ${UPDATE} " = " yes" ]]; then
70
70
echo " ${CHECKSUM_FILE_PATH} file is updated with latest binary hashes!"
You can’t perform that action at this time.
0 commit comments