Will Coleda wrote:
> On Mon, Aug 25, 2008 at 1:00 PM, <[EMAIL PROTECTED]> wrote:
>> Author: moritz
>> Date: Mon Aug 25 10:00:25 2008
>> New Revision: 30538
>>
>> Modified:
>> trunk/Configure.pl
>>
>> Log:
>> [config] reset MANIFEST.configure.generated before writing to it.
>> Patch courtesy by Reini Urban
>>
>>
>> Modified: trunk/Configure.pl
>> ==============================================================================
>> --- trunk/Configure.pl (original)
>> +++ trunk/Configure.pl Mon Aug 25 10:00:25 2008
>> @@ -66,6 +66,8 @@
>>
>> # Log files created by Configure.pl in MANIFEST.configure.generated
>> $conf->{active_configuration} = 1;
>> +my $generated_log = 'MANIFEST.configure.generated';
>> +-e $generated_log && unlink $generated_log;
>
> isn't
>
> unlink $generated_log;
>
> Sufficient here?
Yes. And since we then use the variable only once, we can just write
unlink 'MANIFEST.configure.generated';
I simplified that in r30541.
Moritz
--
Moritz Lenz
http://moritz.faui2k3.org/ | http://perl-6.de/