Summary Files Commits Branches @commit @diff @stats
path: root / Year 3 / Compilers, Introduction / coolc-spim / run.sh
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-xYear 3/Compilers, Introduction/coolc-spim/run.sh2
diff --git a/Year 3/Compilers, Introduction/coolc-spim/run.sh b/Year 3/Compilers, Introduction/coolc-spim/run.sh
index d0eff12..d84f0f4 100755
--- a/Year 3/Compilers, Introduction/coolc-spim/run.sh
+++ b/Year 3/Compilers, Introduction/coolc-spim/run.sh
@@ -5,5 +5,5 @@ printf "\033[1;32mMake sure dockerd is running before running this script.\n\033
pushd docker-container
docker build . -t coolc-spim
popd
-docker run --name coolc-spim -v $(pwd)/class-code:/usr/class -v $(pwd)/my-code:/usr/code -d coolc-spim tail -f /dev/null
+docker run --name coolc-spim -v "$(pwd)/class-code:/usr/class" -v "$(pwd)/my-code:/usr/code" -d coolc-spim tail -f /dev/null
docker exec -it coolc-spim bash