This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Porting/release_managers_guide.pod: correct path to perlivp
[perl5.git] / Porting / makerel
index 41e757b..ec4dc5e 100755 (executable)
@@ -14,8 +14,8 @@
 # of the release process (namely, Porting\corelist.pl and generating the commit
 # statistics for the perlXYZdelta.pod file respectively). Finally, ensure that
 # the 'awk' and 'shasum' commands are copies of gawk.exe and sha1sum.exe
-# respectively, rather the links to them that only work in a Cygwin bash shell
-# which they are by default.
+# respectively, rather than the links to them that only work in a Cygwin bash
+# shell which they are by default.
 #
 # No matter how automated this gets, you'll always need to read
 # and re-read pumpkin.pod and release_managers_guide.pod to
@@ -34,7 +34,7 @@ usage: $0 [ -r rootdir ] [-s suffix ] [ -b ] [ -n ]
     -r rootdir   directory under which to create the build dir and tarball
                  defaults to '..'
     -s suffix    suffix to append to to the perl-x.y.z dir and tarball name
-                defaults to the concatenaion of the local_patches entry
+                defaults to the concatenation of the local_patches entry
                 in patchlevel.h (or blank, if none)
     -b           make a .bz2 file in addtion to a .gz file
     -n           do not make any tarballs, just the directory
@@ -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'; <> };
@@ -136,10 +132,10 @@ my @writables = qw(
     NetWare/config_H.wc
     NetWare/Makefile
     keywords.h
+    keywords.c
     opcode.h
     opnames.h
     pp_proto.h
-    pp.sym
     proto.h
     embed.h
     embedvar.h
@@ -165,7 +161,7 @@ my @writables = qw(
     utils/Makefile
     uconfig.h
 );
-system("chmod +w @writables") == 0
+system("chmod u+w @writables") == 0
     or die "system: $!";
 
 chdir ".." or die $!;