[LON-CAPA-cvs] cvs: loncom /build filecompare.pl
harris41
lon-capa-cvs@mail.lon-capa.org
Sat, 27 Apr 2002 21:12:19 -0000
harris41 Sat Apr 27 17:12:19 2002 EDT
Modified files:
/loncom/build filecompare.pl
Log:
silenting warnings in order to facilitate tarball distro strategy
Index: loncom/build/filecompare.pl
diff -u loncom/build/filecompare.pl:1.11 loncom/build/filecompare.pl:1.12
--- loncom/build/filecompare.pl:1.11 Mon Feb 4 19:52:08 2002
+++ loncom/build/filecompare.pl Sat Apr 27 17:12:18 2002
@@ -3,7 +3,7 @@
# The LearningOnline Network with CAPA
# filecompare.pl - script used to help probe and compare file statistics
#
-# $Id: filecompare.pl,v 1.11 2002/02/05 00:52:08 harris41 Exp $
+# $Id: filecompare.pl,v 1.12 2002/04/27 21:12:18 harris41 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -503,7 +503,7 @@
}
my $cvstime;
if ($buildmode!=3) {
- my $entry=`grep '^/$file/' ${path}CVS/Entries`;
+ my $entry=`grep '^/$file/' ${path}CVS/Entries 2>/dev/null`;
# or
# die('*** WARNING *** cannot grep against '.${path}.
# 'CVS/Entries for ' .$file . "\n");