From: Pete Harlan Date: Wed, 20 Jan 2010 20:57:28 GMT Subject: Re: [PATCH 1/4] engine.pl: Fix a recent breakage of the buildsystem generator Message-ID: <4B576E38.5080604@pcharlan.com> In-Reply-To: <4B575838.2010504@ramsay1.demon.co.uk> On 01/20/2010 11:23 AM, Ramsay Jones wrote: > diff --git a/contrib/buildsystems/engine.pl b/contrib/buildsystems/engine.pl > index d506717..245af73 100644 > --- a/contrib/buildsystems/engine.pl > +++ b/contrib/buildsystems/engine.pl > @@ -135,6 +135,11 @@ sub parseMakeOutput > } > } while($ate_next); > > + if ($text =~ /^test / && $text =~ /|| rm -f /) { That test on the right needs to escape its pipes or it will always match. --Pete > + # commands removing executables, if they exist > + next; > + } > + > if($text =~ / -c /) { > # compilation > handleCompileLine($text, $line);