[LON-CAPA-cvs] cvs: loncom /cgi lonversions.pl
raeburn
raeburn at source.lon-capa.org
Thu Jul 10 20:31:09 EDT 2014
raeburn Fri Jul 11 00:31:09 2014 EDT
Modified files:
/loncom/cgi lonversions.pl
Log:
- Include a trailing space in regexp used to extract 'Id: ' line to
exclude spurious matches from Checksumming.pm
Index: loncom/cgi/lonversions.pl
diff -u loncom/cgi/lonversions.pl:1.9 loncom/cgi/lonversions.pl:1.10
--- loncom/cgi/lonversions.pl:1.9 Mon Nov 7 20:50:02 2011
+++ loncom/cgi/lonversions.pl Fri Jul 11 00:31:09 2014
@@ -1,7 +1,7 @@
#!/usr/bin/perl
$|=1;
# Prints out the Id line from most files
-# $Id: lonversions.pl,v 1.9 2011/11/07 20:50:02 raeburn Exp $
+# $Id: lonversions.pl,v 1.10 2014/07/11 00:31:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -74,7 +74,7 @@
my ($londaemons,$lonlib,$londocroot,$lonincludes) = @_;
print '<html><body bgcolor="#FFFFFF"><h1>'.&Apache::lonlocal::mt('Handler Versions').'</h1>'.
"<pre>\n";
- my $revtag = '$Id:';
+ my $revtag = '$Id: ';
open (DFH, "grep '$revtag' $londaemons/* $lonlib/perl/Apache/*.pm $lonlib/perl/LONCAPA/*.pm $lonincludes/* $londocroot/res/adm/pages/* |");
while (my $line=<DFH>) {
chomp($line);
More information about the LON-CAPA-cvs
mailing list