On Tue, 31 May 2011, Marc wrote:

The problem is that testcurl.pl splits it's own arguments into 2 or more parts using the equal sign already. It drops everything behind the third equal sign.

Oops. How about we just get everything after the configure= and pass it to configure, like this:

diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 27f188f..dcfe615 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -108,8 +108,8 @@ while ($ARGV[0]) {
   elsif ($ARGV[0] =~ /--desc=/) {
     $desc = (split(/=/, shift @ARGV))[1];
   }
-  elsif ($ARGV[0] =~ /--configure=/) {
-    $confopts = (split(/=/, shift @ARGV))[1];
+  elsif ($ARGV[0] =~ /--configure=(.*)/) {
+    $confopts = $1;
   }
   elsif (($ARGV[0] eq "--nocvsup") || ($ARGV[0] eq "--nogitpull")) {
     $nogitpull=1;

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to