Merge pull request #71 from chadawagner/patch-1

quote HOST_PWD in docker cmd to allow spaces
This commit is contained in:
Jean-Christophe Fillion-Robin 2016-11-18 15:24:31 -05:00 committed by GitHub
commit 2e9a5f7ed7

View File

@ -199,7 +199,7 @@ fi
tty -s && TTY_ARGS=-ti || TTY_ARGS=
CONTAINER_NAME=dockcross_$RANDOM
docker run $TTY_ARGS --name $CONTAINER_NAME \
-v $HOST_PWD:/work \
-v "$HOST_PWD":/work \
$USER_IDS \
$FINAL_ARGS \
$FINAL_IMAGE "$@"