
Paths with spaces are an issue on Windows and our current powershell scripts are not sufficiently hardended against their use. This PR removes promlematic commandlets that do not work well with paths with spaces and adds escape quotes in other areas where this could be an issue.
5 lines
342 B
PowerShell
5 lines
342 B
PowerShell
$ErrorActionPreference = "SilentlyContinue"
|
|
Write-Output F|xcopy .\share\spack\qa\configuration\windows_config.yaml "$env:USERPROFILE\.spack\windows\config.yaml"
|
|
# The line below prevents the _spack_root symlink from causing issues with cyclic symlinks on Windows
|
|
(Get-Item '.\lib\spack\docs\_spack_root').Delete()
|
|
./share/spack/setup-env.ps1 |