diff options
author | gerald <gerald@FreeBSD.org> | 2009-09-15 17:34:08 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2009-09-15 17:34:08 +0800 |
commit | a5279fef43090ff6373b4bfa96ff055f354806c8 (patch) | |
tree | 398dd703e69987ed53520e5e8a8baa8a302fb885 /Tools/scripts | |
parent | 946da3b0da621f1a28201ef500bf02c0b301ee89 (diff) | |
download | freebsd-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-x | Tools/scripts/bump_revision.pl | 2 |
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; |