This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
*.t and test.pl don't need to be executable
authorFlorian Ragwitz <rafl@debian.org>
Thu, 19 Aug 2010 21:24:24 +0000 (23:24 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Thu, 19 Aug 2010 21:25:37 +0000 (23:25 +0200)
Porting/makerel

index 41e757b..dbc4d1d 100755 (executable)
@@ -117,14 +117,10 @@ print "\n";
 chdir "$relroot/$reldir" or die $!;
 
 
-my $SEARCH_ROOTS = 't ext lib dist cpan';
-
 print "Setting file permissions...\n";
 system("find . -type f -print     | xargs chmod 0444");
 system("find . -type d -print     | xargs chmod 0755");
-system("find $SEARCH_ROOTS -name '*.t'     -print | xargs chmod +x");
-system("find $SEARCH_ROOTS -name 'test.pl' -print | xargs chmod +x");
-my @exe = map   { my ($f) = split; glob($f) } 
+my @exe = map   { my ($f) = split; glob($f) }
           grep  { $_ !~ /\A#/ && $_ !~ /\A\s*\z/ }
           map   { split "\n" }
           do    { local (@ARGV, $/) = 'Porting/exec-bit.txt'; <> };