diff options
author | eik <eik@FreeBSD.org> | 2004-05-30 21:12:34 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-05-30 21:12:34 +0000 |
commit | 3719e6d25c4b1de9d84a86f19385d6850b5bbdfc (patch) | |
tree | e2f20a7801da0860f2a261c8fa5433c462645184 /Tools/scripts | |
parent | 8fb307f24490b66452ee1c904887a06ec3c94cdf (diff) | |
download | FreeBSD-ports-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.zip FreeBSD-ports-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.tar.gz |
parse $FreeBSD$ with yyyy-mm-dd format dates
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/chkversion.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/chkversion.pl b/Tools/scripts/chkversion.pl index cf5c5565..4590cf5 100755 --- a/Tools/scripts/chkversion.pl +++ b/Tools/scripts/chkversion.pl @@ -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; } |