From e34638e04fad1d4d6db2b43290a376e225e25b69 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 3 Nov 2020 02:47:43 +0100 Subject: [PATCH] fix possible path bug Double quote to prevent globbing and word splitting. https://github.com/koalaman/shellcheck/wiki/SC2046 --- docker-run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-run-tests.sh b/docker-run-tests.sh index 38667d17..a187a870 100755 --- a/docker-run-tests.sh +++ b/docker-run-tests.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash MOUNT_FOLDER=/app -docker run --rm -it -v $(pwd):$MOUNT_FOLDER -w $MOUNT_FOLDER themattrix/tox +docker run --rm -it -v "$(pwd)":"$MOUNT_FOLDER" -w "$MOUNT_FOLDER" themattrix/tox