mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -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 vcvarsall="%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
|
||||||
set vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
|
set vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||||
for /f "usebackq tokens=*" %%i in (`%vswhere% -find VC\**\vcvarsall.bat`) do (
|
if exist "%vswhere%" (
|
||||||
|
for /f "usebackq tokens=*" %%i in (`%vswhere% -find VC\**\vcvarsall.bat`) do (
|
||||||
set vcvarsall="%%i"
|
set vcvarsall="%%i"
|
||||||
|
)
|
||||||
)
|
)
|
||||||
call %vcvarsall% %*
|
call %vcvarsall% %*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user