From: Rafael Garcia-Suarez Date: Wed, 5 Oct 2005 21:26:57 +0000 (+0000) Subject: Compress::Zlib's Makefile.PL shouldn't create .bak files when building the core X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aca78d212117aacedf02dc6c4a61f8759b0bc8ec;p=p5sagit%2Fp5-mst-13.2.git Compress::Zlib's Makefile.PL shouldn't create .bak files when building the core p4raw-id: //depot/perl@25699 --- diff --git a/ext/Compress/Zlib/Makefile.PL b/ext/Compress/Zlib/Makefile.PL index 1088436..9206db6 100755 --- a/ext/Compress/Zlib/Makefile.PL +++ b/ext/Compress/Zlib/Makefile.PL @@ -73,7 +73,7 @@ my @files = ('Zlib.pm', 't/ZlibTestUtils.pm', glob("lib/File/*.pm"), grep(!/\.bak$/, glob("examples/*"))) ; -UpDowngrade(@files) unless $ENV{PERL_CORE}; +UpDowngrade(@files) unless grep { $_ eq 'PERL_CORE=1' } @ARGV; WriteMakefile( NAME => 'Compress::Zlib',