From 413c1b6ad3f44dc3f4e3ba38c77026af66933ac6 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 15 Sep 2009 09:34:08 +0000 Subject: Correctly bump PORTREVISION?= instead of always resetting to 1 in this case. PR: 138774 Approved by: edwin --- Tools/scripts/bump_revision.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools') diff --git a/Tools/scripts/bump_revision.pl b/Tools/scripts/bump_revision.pl index 239fe070dd10..901b3f1755f5 100755 --- a/Tools/scripts/bump_revision.pl +++ b/Tools/scripts/bump_revision.pl @@ -46,7 +46,7 @@ sub bumpMakefile { foreach my $line (@lines) { last if ($line =~ /^MAINTAINER/); - $revision += $1 if ($line =~ /PORTREVISION??=[ \t]*(\d+)$/); + $revision += $1 if ($line =~ /PORTREVISION\??=[ \t]*(\d+)$/); } my $printedrev = 0; -- cgit v1.2.3