mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
GP-3639: Quoting vswhere path (Closes #5574)
This commit is contained in:
parent
75a44fb423
commit
de40d2101d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def configureVisualStudio() {
|
||||||
println " -> To manually specify the location of vswhere.exe, add \"-PvswherePath=<vswhere path>\" to the Gradle command line arguments"
|
println " -> To manually specify the location of vswhere.exe, add \"-PvswherePath=<vswhere path>\" to the Gradle command line arguments"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
def vswhereProcess = "${vswherePath} -products * -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -format json -utf8".execute()
|
def vswhereProcess = "\"${vswherePath}\" -products * -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -format json -utf8".execute()
|
||||||
def vswhereOutput = vswhereProcess.text.trim()
|
def vswhereOutput = vswhereProcess.text.trim()
|
||||||
def vswhereExit = vswhereProcess.exitValue()
|
def vswhereExit = vswhereProcess.exitValue()
|
||||||
if (vswhereExit != 0) {
|
if (vswhereExit != 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue