Mailing List Archive

svn commit: rev 6335 - incubator/spamassassin/trunk/masses
Author: quinlan
Date: Tue Jan 27 22:40:25 2004
New Revision: 6335

Modified:
incubator/spamassassin/trunk/masses/mass-check
Log:
switch to SVN version (does anyone actually use the tag of mass-check itself?)


Modified: incubator/spamassassin/trunk/masses/mass-check
==============================================================================
--- incubator/spamassassin/trunk/masses/mass-check (original)
+++ incubator/spamassassin/trunk/masses/mass-check Tue Jan 27 22:40:25 2004
@@ -138,13 +138,12 @@
my $revision = "unknown";
if (open(TESTING, "$opt_c/70_cvs_rules_under_test.cf")) {
chomp($revision = <TESTING>);
- $revision =~ s/.*Revision:\s*(\S+).*/$1/;
+ $revision =~ s/.*\$Rev:\s*(\S+).*/$1/;
close(TESTING);
}
my $log_header = "# mass-check results from $who\@$where, on $when\n" .
"# M:SA version ".$spamtest->Version()."\n" .
- '# CVS tag: $Name: $' . "\n" .
- "# CVS revision: $revision\n";
+ "# SVN revision: $revision\n";
my $host = $ENV{'HOSTNAME'} || $ENV{'HOST'} || `hostname` || 'localhost';
chomp $host;