mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
The mach Python script no longer supports Python 2, so don't use Python 2. Fixes #28379 Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
8 lines
95 B
Batchfile
8 lines
95 B
Batchfile
@echo off
|
|
|
|
where /Q py.exe
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
python mach %*
|
|
) ELSE (
|
|
py -3 mach %*
|
|
)
|