mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
quote HOST_PWD in docker cmd to allow spaces
This commit is contained in:
parent
3a0f84f977
commit
9373f029f4
@ -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