summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-15 13:28:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-15 13:28:51 +0000
commitd42572200030b0bf72f8f9779ce1d066f0c26fc3 (patch)
tree72dd303ef1afcabd344ef75534d463f3145d4375 /Porting
parentc4d53692ec3f5043ce8674b81e269a38ca79e2e8 (diff)
downloadperl-d42572200030b0bf72f8f9779ce1d066f0c26fc3.tar.gz
will this be it for 5.005_55?
p4raw-id: //depot/perl@2949
Diffstat (limited to 'Porting')
-rw-r--r--Porting/makerel6
1 files changed, 3 insertions, 3 deletions
diff --git a/Porting/makerel b/Porting/makerel
index f2e1f9750b..afff585948 100644
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -20,10 +20,10 @@ die "Must be in root of the perl source tree.\n"
open PATCHLEVEL,"<patchlevel.h" or die;
my @patchlevel_h = <PATCHLEVEL>;
close PATCHLEVEL;
-my $patchlevel_h = join "", grep { /^#define/ } @patchlevel_h;
+my $patchlevel_h = join "", grep { /^#\s*define/ } @patchlevel_h;
print $patchlevel_h;
-$patchlevel = $1 if $patchlevel_h =~ /PATCHLEVEL\s+(\d+)/;
-$subversion = $1 if $patchlevel_h =~ /SUBVERSION\s+(\d+)/;
+$patchlevel = $1 if $patchlevel_h =~ /PERL_VERSION\s+(\d+)/;
+$subversion = $1 if $patchlevel_h =~ /PERL_SUBVERSION\s+(\d+)/;
die "Unable to parse patchlevel.h" unless $subversion >= 0;
$vers = sprintf("5.%03d", $patchlevel);
$vms_vers = sprintf("5_%03d", $patchlevel);