mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
parse $FreeBSD$ with yyyy-mm-dd format dates
This commit is contained in:
parent
eff2bc50d3
commit
5a9ce724fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110428
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ sub getauthors {
|
|||
if (!$revision{$origin}) {
|
||||
open MAKEFILE, "<$portsdir/$origin/Makefile";
|
||||
while (<MAKEFILE>) {
|
||||
if (m'\$FreeBSD\: [^\$ ]+,v (\d+(?:\.\d+)+) \d{4}(?:/\d{2}){2} \d{2}(?::\d{2}){2} (\w+) [\w ]+\$') {
|
||||
if (m'\$FreeBSD\: [^\$ ]+,v (\d+(?:\.\d+)+) \d{4}(?:[/-]\d{2}){2} \d{2}(?::\d{2}){2} (\w+) [\w ]+\$') {
|
||||
$revision{$origin} = $1;
|
||||
$author{$origin} = $2;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue