mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
Get back to working dir after vcvarsall.bat
When using cmd.exe directly, vcvarsall.bat changes the working directory. To prevent this, pushd and popd could be used.
This commit is contained in:
parent
b13107a318
commit
1f2b5d684f
1 changed files with 4 additions and 0 deletions
4
mach.bat
4
mach.bat
|
@ -1,5 +1,7 @@
|
|||
@echo off
|
||||
|
||||
pushd .
|
||||
|
||||
IF EXIST "%ProgramFiles(x86)%" (
|
||||
set "ProgramFiles32=%ProgramFiles(x86)%"
|
||||
) ELSE (
|
||||
|
@ -32,4 +34,6 @@ IF EXIST "%VS_VCVARS%" (
|
|||
EXIT /B
|
||||
)
|
||||
|
||||
popd
|
||||
|
||||
python mach %*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue