]> granicus.if.org Git - curl/commitdiff
fix the configure option query
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Jan 2003 07:37:21 +0000 (07:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Jan 2003 07:37:21 +0000 (07:37 +0000)
testcurl.sh

index 4dca362907581d479022876c558bd1d2e0ca40e4..78b78882d5363a16f8bc715ad59088d705fc05f1 100755 (executable)
@@ -8,7 +8,7 @@
 # at a regular interval. The output will be suitable to be mailed automaticly
 # to "curl-autocompile@haxx.se" to be dealt with automaticly.  The most
 # current build status (with a resonable backlog) will be published on the
-# curl site, at http://curl.haxx.se/
+# curl site, at http://curl.haxx.se/auto/
 
 # USAGE:
 # testcurl.sh [configure options] > output
@@ -49,11 +49,13 @@ if [ -z "$desc" ]; then
   fixed="3"
 fi
 
-if [ -z "$confopts" -a "$infixed" -lt "4" ]; then
-  echo "please enter your additional arguments to configure"
-  echo "examples: --with-ssl --enable-debug --enable-ipv6 --with-krb4"
-  read confopts
-  fixed="4"
+if [ -z "$confopts" ]; then
+  if [ $infixed -lt 4 ]; then
+    echo "please enter your additional arguments to configure"
+    echo "examples: --with-ssl --enable-debug --enable-ipv6 --with-krb4"
+    read confopts
+    fixed="4"
+  fi
 fi