提交 1f63495b 编写于 作者: T Tanner Gooding

Adding a hack to workaround some new `VsDevCmd.bat` behavior related to it...

Adding a hack to workaround some new `VsDevCmd.bat` behavior related to it changing the current directory.
上级 eff05a2f
......@@ -8,5 +8,9 @@ if not exist "%CommonToolsDir%" for /f "usebackq delims=" %%v in (`powershell -n
if not exist "%CommonToolsDir%" set CommonToolsDir=%VS140COMNTOOLS%
if not exist "%CommonToolsDir%" exit /b 1
:: VsDevCmd.bat has new behavior where it will change your working directory to a special folder if you have ever cloned from the VsDevCmd window, push and pop the current directory to workaround this
pushd %~dp0
call "%CommonToolsDir%\VsDevCmd.bat"
popd
exit /b 0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册