From: Jesse Vincent Date: Thu, 1 Oct 2009 21:44:07 +0000 (+0900) Subject: Minor updates to makerel to take the new world order into account X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d38b68fefb34cb7ae5561c52655f37921a77eb5f;p=p5sagit%2Fp5-mst-13.2.git Minor updates to makerel to take the new world order into account --- diff --git a/Porting/makerel b/Porting/makerel index 2ab5e81..ce7a9ed 100644 --- a/Porting/makerel +++ b/Porting/makerel @@ -101,11 +101,14 @@ 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 t ext lib -name '*.t' -print | xargs chmod +x"); -system("find t ext lib -name 'test.pl' -print | xargs chmod +x"); +system("find $SEARCH_ROOTS -name '*.t' -print | xargs chmod +x"); +system("find $SEARCH_ROOTS -name 'test.pl' -print | xargs chmod +x"); my @exe = qw( Configure configpm @@ -117,7 +120,6 @@ my @exe = qw( opcode.pl t/TEST *.SH - vms/ext/Stdio/test.pl vms/ext/filespec.t x2p/*.SH Porting/findrfuncs