mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00: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
@ -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…
Reference in New Issue
Block a user