mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-05 07:53:34 +08:00
GP-3639: Quoting vswhere path (Closes #5574)
This commit is contained in:
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user