]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
testcurl.pl: allow configure args to use '='
authorDaniel Stenberg <daniel@haxx.se>
Tue, 31 May 2011 08:44:10 +0000 (10:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 May 2011 11:35:26 +0000 (13:35 +0200)
tests/testcurl.pl

index 27f188f2f3eb124deef6c6554e991d23d3b72003..08b80d1dead9ac271c740e563158c5e2c4204c3c 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -108,8 +108,9 @@ 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;
+    shift @ARGV;
   }
   elsif (($ARGV[0] eq "--nocvsup") || ($ARGV[0] eq "--nogitpull")) {
     $nogitpull=1;