Spack on Windows: fix shell scripts when root contains a space (#39875)

Enclose variable tracking root in quotes.
This commit is contained in:
John W. Parent
2023-09-08 13:49:16 -04:00
committed by GitHub
parent 87f99de3fb
commit 14f248652c
2 changed files with 17 additions and 18 deletions

View File

@@ -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