diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-08-19 23:24:24 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-08-19 23:25:37 +0200 |
commit | 5326e4da20f4c11bb64a5d6b3d1e982c217f8902 (patch) | |
tree | 7ef4a1a22690db7f8e9b03ab8510fbf8b0f6e307 | |
parent | 75b4b7ae2f0388550bb4d180b832817e8b756432 (diff) | |
download | perl-5326e4da20f4c11bb64a5d6b3d1e982c217f8902.tar.gz |
*.t and test.pl don't need to be executable
-rwxr-xr-x | Porting/makerel | 6 |
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'; <> }; |