hide the grep result
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jan 2004 09:48:55 +0000 (09:48 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jan 2004 09:48:55 +0000 (09:48 +0000)
testcurl.sh

index a72ca4409ab902beb76e20d2a0620009ffd1a359..f256e06cf61cd80d5cf697b1a86774642ee4eb9a 100755 (executable)
@@ -186,7 +186,7 @@ if [ $CVS -eq 1 ]; then
   # generate the build files
   ./buildconf 2>&1 | tee build.log
 
-  if { grep "^buildconf: OK" build.log; } then
+  if { grep "^buildconf: OK" build.log >/dev/null 2>&1; } then
      echo "testcurl: buildconf was successful"
   else
      echo "testcurl: buildconf was NOT successful"