diff options
author | eik <eik@FreeBSD.org> | 2004-05-31 05:12:34 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-05-31 05:12:34 +0800 |
commit | 3719e6d25c4b1de9d84a86f19385d6850b5bbdfc (patch) | |
tree | e2f20a7801da0860f2a261c8fa5433c462645184 /Tools | |
parent | 8fb307f24490b66452ee1c904887a06ec3c94cdf (diff) | |
download | freebsd-ports-gnome-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.tar.gz freebsd-ports-gnome-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.tar.zst freebsd-ports-gnome-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.zip |
parse $FreeBSD$ with yyyy-mm-dd format dates
Diffstat (limited to 'Tools')
-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 cf5c556505ef..4590cf5ef9d0 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; } |