[build2] Wildcards and pattern exclusion

Moldmann Max (DC-MA/ENG52-NA) Max.Moldmann at boschrexroth-us.com
Wed Apr 12 14:41:19 UTC 2017


You are right! This works!

Max

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Wednesday, April 12, 2017 10:31 AM
To: Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com>
Cc: users at build2.org
Subject: Re: [build2] Wildcards and pattern exclusion

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