From ecbbb5258ee604a8d107ebbbbdfaf055828a3e1c Mon Sep 17 00:00:00 2001 From: Joubin Jabbari Date: Sun, 7 Oct 2018 11:15:01 -0700 Subject: [PATCH] encapsulated the WEBGOAT_HOME in quotes Encapsulating the `WEBGOAT_HOME` variable in quotes allows for spaces to exist in the path --- scripts/build_docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_docker.sh b/scripts/build_docker.sh index a6df2a453..ec5f28d9f 100644 --- a/scripts/build_docker.sh +++ b/scripts/build_docker.sh @@ -2,9 +2,9 @@ WEBGOAT_HOME=$(pwd)/../ -cd ${WEBGOAT_HOME}/webgoat-server +cd "${WEBGOAT_HOME}"/webgoat-server docker build -t webgoat/webgoat-v8.0.0.snapshot . -cd ${WEBGOAT_HOME}/webwolf +cd "${WEBGOAT_HOME}"/webwolf docker build -t webgoat/webwolf-v8.0.0.snapshot .