mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
tweak mach files a little bit (#34485)
Signed-off-by: Peter MIKOLA <mikopet@mikopet.dev>
This commit is contained in:
parent
3515b83a95
commit
4ddbdc61a3
2 changed files with 4 additions and 9 deletions
5
mach.bat
5
mach.bat
|
@ -1,8 +1,9 @@
|
|||
@echo off
|
||||
set workdir=%~dp0
|
||||
|
||||
where /Q py.exe
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
python mach %*
|
||||
python %workdir%mach %*
|
||||
) ELSE (
|
||||
py -3 mach %*
|
||||
py -3 %workdir%mach %*
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue