aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-05-30 23:15:54 +0800
committereik <eik@FreeBSD.org>2004-05-30 23:15:54 +0800
commit4055cbbb4890b9a2ffef23421dd1da49c960f2a1 (patch)
tree2903fa9e2ec8f9bbfa10c1a158563cb6b9d5be87 /Tools
parent4760eebdd689227cf3e905c511e476d7bd83ef64 (diff)
downloadfreebsd-ports-gnome-4055cbbb4890b9a2ffef23421dd1da49c960f2a1.tar.gz
freebsd-ports-gnome-4055cbbb4890b9a2ffef23421dd1da49c960f2a1.tar.zst
freebsd-ports-gnome-4055cbbb4890b9a2ffef23421dd1da49c960f2a1.zip
protect $FreeBSD: ... $ from being expanded
Noticed by: mat
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 83547ed5c790..cf5c556505ef 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;
}