summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-05-30 21:12:34 +0000
committereik <eik@FreeBSD.org>2004-05-30 21:12:34 +0000
commit3719e6d25c4b1de9d84a86f19385d6850b5bbdfc (patch)
treee2f20a7801da0860f2a261c8fa5433c462645184 /Tools/scripts
parent8fb307f24490b66452ee1c904887a06ec3c94cdf (diff)
downloadFreeBSD-ports-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.zip
FreeBSD-ports-3719e6d25c4b1de9d84a86f19385d6850b5bbdfc.tar.gz
parse $FreeBSD$ with yyyy-mm-dd format dates
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/chkversion.pl2
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;
}
OpenPOWER on IntegriCloud