mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-05 14:44:26 +01:00
Merge pull request #71 from chadawagner/patch-1
quote HOST_PWD in docker cmd to allow spaces
This commit is contained in:
commit
2e9a5f7ed7
@ -199,7 +199,7 @@ fi
|
|||||||
tty -s && TTY_ARGS=-ti || TTY_ARGS=
|
tty -s && TTY_ARGS=-ti || TTY_ARGS=
|
||||||
CONTAINER_NAME=dockcross_$RANDOM
|
CONTAINER_NAME=dockcross_$RANDOM
|
||||||
docker run $TTY_ARGS --name $CONTAINER_NAME \
|
docker run $TTY_ARGS --name $CONTAINER_NAME \
|
||||||
-v $HOST_PWD:/work \
|
-v "$HOST_PWD":/work \
|
||||||
$USER_IDS \
|
$USER_IDS \
|
||||||
$FINAL_ARGS \
|
$FINAL_ARGS \
|
||||||
$FINAL_IMAGE "$@"
|
$FINAL_IMAGE "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user