summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-08-19 23:24:24 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-08-19 23:25:37 +0200
commit5326e4da20f4c11bb64a5d6b3d1e982c217f8902 (patch)
tree7ef4a1a22690db7f8e9b03ab8510fbf8b0f6e307
parent75b4b7ae2f0388550bb4d180b832817e8b756432 (diff)
downloadperl-5326e4da20f4c11bb64a5d6b3d1e982c217f8902.tar.gz
*.t and test.pl don't need to be executable
-rwxr-xr-xPorting/makerel6
1 files changed, 1 insertions, 5 deletions
diff --git a/Porting/makerel b/Porting/makerel
index 41e757bb56..dbc4d1d437 100755
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -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'; <> };