Adjust wiibuild.bat to not use MinGW or MSYS paths.

git-svn-id: https://svn.eduke32.com/eduke32@5977 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-01-01 13:23:18 +00:00
parent b107d3e0de
commit 59a75539e0

View file

@ -2,7 +2,7 @@
setlocal ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION setlocal ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION
set targets=eduke32 mapster32 set targets=eduke32 mapster32
set PATH=C:\devkitPro\devkitPPC\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\devkitPro\msys\bin;%PATH% set PATH=C:\devkitPro\devkitPPC\bin;C:\devkitPro\msys\bin;%PATH%
set DEVKITPPC=C:/devkitPro/devkitPPC set DEVKITPPC=C:/devkitPro/devkitPPC
set DEVKITPRO=C:/devkitPro set DEVKITPRO=C:/devkitPro
@ -18,10 +18,10 @@ if "%rev%"=="" set vc=none
if "%rev%"=="" set rev=XXXX if "%rev%"=="" set rev=XXXX
:: Get the current date: :: Get the current date:
for /f "delims=" %%G in ('"C:\MinGW\msys\1.0\bin\date.exe" +%%Y%%m%%d') do @set currentdate=%%G for /f "delims=" %%G in ('"C:\devkitPro\msys\bin\date.exe" +%%Y%%m%%d') do @set currentdate=%%G
:: Build: :: Build:
set commandline=make PLATFORM=WII %* STRIP="" set commandline=mingw32-make PLATFORM=WII %* STRIP=""
echo %commandline% echo %commandline%
%commandline% %commandline%