aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2009-09-15 09:34:08 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2009-09-15 09:34:08 +0000
commit413c1b6ad3f44dc3f4e3ba38c77026af66933ac6 (patch)
tree501fb21ab405d4b8ae8ce1ce52de2800f275be44 /Tools/scripts
parentf497da837b02325ed49b1013748ee3e35d4ad0a8 (diff)
downloadports-413c1b6ad3f44dc3f4e3ba38c77026af66933ac6.tar.gz
ports-413c1b6ad3f44dc3f4e3ba38c77026af66933ac6.zip
Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.
PR: 138774 Approved by: edwin
Notes
Notes: svn path=/head/; revision=241447
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/bump_revision.pl2
1 files changed, 1 insertions, 1 deletions
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;