summaryrefslogtreecommitdiff
path: root/bin/spack-tmpconfig
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2023-03-28 19:50:37 -0400
committerGitHub <noreply@github.com>2023-03-28 16:50:37 -0700
commit6b03c9f2856c144e45ea39f24ef50158b9343818 (patch)
tree204323e17433744534c10cf8405243f9e5e6301d /bin/spack-tmpconfig
parent7ffe2fadfedae1133da6a2dfa96b8c21828dbabc (diff)
downloadspack-6b03c9f2856c144e45ea39f24ef50158b9343818.tar.gz
spack-6b03c9f2856c144e45ea39f24ef50158b9343818.tar.bz2
spack-6b03c9f2856c144e45ea39f24ef50158b9343818.tar.xz
spack-6b03c9f2856c144e45ea39f24ef50158b9343818.zip
Windows: spack.bat CLI handling robustness (#36281)
* Current develop spack.bat file cannot handle any reserved characters being passed via the CLI, particularly '=' and '?'. To address this, re-do the CLI parsing for loop to use custom logic to allow for more granular handling of CLI args. * We take a less-than-ideal approach to escaping local scope and handling unset variables as well as the actual parsing of CL arguments. To address this, don't quote the args and then try to parse the quotes we just added (resulting in spack flags being undefined). Instead, leverage batch script features. Since we are not unnecessarily quoting things, we don't need to think about removing them, and in the case of paths with spaces, we should _not_ be removing the quotes as we currently do.
Diffstat (limited to 'bin/spack-tmpconfig')
0 files changed, 0 insertions, 0 deletions