aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-05-31 05:12:34 +0800
committereik <eik@FreeBSD.org>2004-05-31 05:12:34 +0800
commit3719e6d25c4b1de9d84a86f19385d6850b5bbdfc (patch)
treee2f20a7801da0860f2a261c8fa5433c462645184 /Tools
parent8fb307f24490b66452ee1c904887a06ec3c94cdf (diff)
downloadfreebsd-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-xTools/scripts/chkversion.pl2
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;
}