Fix bug in previous checkin
authorChris Lattner <sabre@nondot.org>
Tue, 23 Sep 2003 22:02:01 +0000 (22:02 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Sep 2003 22:02:01 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8694 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index 50756bf3f6ebeecb29b6112cc3a3bcd1d854cd9a..8ab3a59929faaa8b3f447a2580362d6defd0de32 100755 (executable)
@@ -198,7 +198,7 @@ my $BuildWallTime = GetRegexNum "^real", 1, "([0-9.]+)","$Prefix-Build-Log.txt";
 
 my $BuildError = "";
 if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0 ||
-    `grep '^gmake: \*\*\*.*Stop.`+0) {
+    `grep '^gmake: \*\*\*.*Stop.' $Prefix-Build-Log.txt | wc -l`+0) {
   $BuildError = "<h3><font color='red'>Build error: compilation " .
                 "<a href=\"$DATE-Build-Log.txt\">aborted</a></font></h3>";
 }