cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] tiny fix for testcurl.sh

From: Tor Arntsen <tor_at_spacetec.no>
Date: Thu, 19 Feb 2004 17:20:29 +0100

There's a small error in the latest testcurl.sh, resulting in the following
message to stderr:

curl/testcurl.sh: [: missing `]'

Tiny patch appended.

-Tor

--
Index: testcurl.sh
===================================================================
RCS file: /repository/curl/testcurl.sh,v
retrieving revision 1.30
diff -u -r1.30 testcurl.sh
--- testcurl.sh	19 Feb 2004 12:56:45 -0000	1.30
+++ testcurl.sh	19 Feb 2004 16:19:49 -0000
@@ -218,7 +218,7 @@
   cd ares
   make 2>&1 | sed -e "s:$pwd::g"
 
-  if [ -f libcares.a]; then
+  if [ -f libcares.a ]; then
     log "ares is now built successfully"
   else
     log "ares build failed"
Received on 2004-02-19