[build2] Wildcards and pattern exclusion

Boris Kolpackov boris at codesynthesis.com
Wed Apr 12 14:31:26 UTC 2017


Hi Max,

> Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com> writes:
>
> if errorlevel 0 goto SUCCESS 
> goto END

Ok, after refreshing my memory (thanks for Klaim's link), I think I know
what's going on:

"Note: "errorlevel 1" is true if errorlevel >= 1. So "errorlevel 0" will
 match everything."

Try to change your batch file to read:

if errorlevel 1 goto END
goto SUCCESS

Boris



More information about the users mailing list