summaryrefslogtreecommitdiff
path: root/utils/NewNightlyTest.pl
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-06-05 12:54:44 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-06-05 12:54:44 +0000
commitef7d2bb8d3b8f486d178440e9569e4f75f9c11a4 (patch)
tree0d9f28e2da65ea3290ca1e80afaf259e2ac4a2a9 /utils/NewNightlyTest.pl
parent02518140ac3310d0357c26a87b2372d85da9c2f4 (diff)
downloadllvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.tar.gz
llvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.tar.bz2
llvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.tar.xz
Escape "$#".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-xutils/NewNightlyTest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 0dbacda4a7..447165fd61 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -558,7 +558,7 @@ my $NumFilesInCVS = 0;
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;