diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-06-05 12:54:44 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-06-05 12:54:44 +0000 |
commit | ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4 (patch) | |
tree | 0d9f28e2da65ea3290ca1e80afaf259e2ac4a2a9 /utils | |
parent | 02518140ac3310d0357c26a87b2372d85da9c2f4 (diff) | |
download | external_llvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.zip external_llvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.tar.gz external_llvm-ef7d2bb8d3b8f486d178440e9569e4f75f9c11a4.tar.bz2 |
Escape "$#".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/NewNightlyTest.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 0dbacda..447165f 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; |