mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: vcvarsall.bat: minor fix
This commit is contained in:
parent
89aaf33b62
commit
5360f5ca6e
@ -2,7 +2,9 @@
|
||||
|
||||
set vcvarsall="%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
|
||||
set vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
for /f "usebackq tokens=*" %%i in (`%vswhere% -find VC\**\vcvarsall.bat`) do (
|
||||
set vcvarsall="%%i"
|
||||
if exist "%vswhere%" (
|
||||
for /f "usebackq tokens=*" %%i in (`%vswhere% -find VC\**\vcvarsall.bat`) do (
|
||||
set vcvarsall="%%i"
|
||||
)
|
||||
)
|
||||
call %vcvarsall% %*
|
||||
|
Loading…
x
Reference in New Issue
Block a user