From 9373f029f4aaefea18072bb43c0a3b90f8e16b19 Mon Sep 17 00:00:00 2001 From: chadawagner Date: Thu, 17 Nov 2016 21:19:54 -0800 Subject: [PATCH] quote HOST_PWD in docker cmd to allow spaces --- imagefiles/dockcross | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagefiles/dockcross b/imagefiles/dockcross index 827a670..b7823f7 100755 --- a/imagefiles/dockcross +++ b/imagefiles/dockcross @@ -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 "$@"