mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.
PR: 138774 Approved by: edwin
This commit is contained in:
parent
f497da837b
commit
413c1b6ad3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241447
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue