[llvm-commits] [llvm] r51998 - /llvm/trunk/utils/NewNightlyTest.pl
Nick Lewycky
nicholas at mxc.ca
Thu Jun 5 05:54:53 PDT 2008
Author: nicholas
Date: Thu Jun 5 07:54:44 2008
New Revision: 51998
URL: http://llvm.org/viewvc/llvm-project?rev=51998&view=rev
Log:
Escape "$#".
Modified:
llvm/trunk/utils/NewNightlyTest.pl
Modified: llvm/trunk/utils/NewNightlyTest.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/NewNightlyTest.pl?rev=51998&r1=51997&r2=51998&view=diff
==============================================================================
--- llvm/trunk/utils/NewNightlyTest.pl (original)
+++ llvm/trunk/utils/NewNightlyTest.pl Thu Jun 5 07:54:44 2008
@@ -558,7 +558,7 @@
my $NumDirsInCVS = 0;
if ($USESVN) {
$NumFilesInCVS = `egrep '^A' $COLog | wc -l` + 0;
- $NumDirsInCVS = `sed -e 's#/[^/]*$##' $COLog | sort | uniq | wc -l` + 0;
+ $NumDirsInCVS = `sed -e 's#/[^/]*\$##' $COLog | sort | uniq | wc -l` + 0;
} else {
$NumFilesInCVS = `egrep '^U' $COLog | wc -l` + 0;
$NumDirsInCVS = `egrep '^cvs (checkout|server|update):' $COLog | wc -l` + 0;
More information about the llvm-commits
mailing list