Re: [AD] updated fix.bat to simplify MSVC target

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Matthew Leverton:
> if not "%ERRORLEVEL%" == "0" goto nogcc
> if not "%ERRORLEVEL%" == "0" goto helper_error

Hmm, shouldn't that be

if errorlevel 1 goto nogcc
if errorlevel 1 goto helper_error

errorlevel isn't an environment variable, is it? In any case, "if errorlevel
1" is true if errorlevel is 1 *or higher*.

--
Daniel Schlyder
http://bitblaze.com/





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/