aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2009-09-15 17:34:08 +0800
committergerald <gerald@FreeBSD.org>2009-09-15 17:34:08 +0800
commita5279fef43090ff6373b4bfa96ff055f354806c8 (patch)
tree398dd703e69987ed53520e5e8a8baa8a302fb885 /Tools/scripts
parent946da3b0da621f1a28201ef500bf02c0b301ee89 (diff)
downloadfreebsd-ports-gnome-a5279fef43090ff6373b4bfa96ff055f354806c8.tar.gz
freebsd-ports-gnome-a5279fef43090ff6373b4bfa96ff055f354806c8.tar.zst
freebsd-ports-gnome-a5279fef43090ff6373b4bfa96ff055f354806c8.zip
Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.
PR: 138774 Approved by: edwin
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;