summaryrefslogtreecommitdiff
path: root/bin/spack.bat
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2023-09-08 13:49:16 -0400
committerGitHub <noreply@github.com>2023-09-08 13:49:16 -0400
commit14f248652c077e291112f456efb8026bc880d27d (patch)
tree36df43533b24c2498ccfeba91cb6fe37a5025da8 /bin/spack.bat
parent87f99de3fb2d064549db4a156e4f5c33e98e3308 (diff)
downloadspack-14f248652c077e291112f456efb8026bc880d27d.tar.gz
spack-14f248652c077e291112f456efb8026bc880d27d.tar.bz2
spack-14f248652c077e291112f456efb8026bc880d27d.tar.xz
spack-14f248652c077e291112f456efb8026bc880d27d.zip
Spack on Windows: fix shell scripts when root contains a space (#39875)
Enclose variable tracking root in quotes.
Diffstat (limited to 'bin/spack.bat')
-rw-r--r--bin/spack.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack.bat b/bin/spack.bat
index c9afffb51a..b067256cf9 100644
--- a/bin/spack.bat
+++ b/bin/spack.bat
@@ -14,7 +14,7 @@
::
@echo off
-set spack=%SPACK_ROOT%\bin\spack
+set spack="%SPACK_ROOT%"\bin\spack
::#######################################################################
:: This is a wrapper around the spack command that forwards calls to