From: Daniel Stenberg Date: Tue, 31 May 2011 08:44:10 +0000 (+0200) Subject: testcurl.pl: allow configure args to use '=' X-Git-Tag: curl-7_21_7~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d64ed25dfacef8b44835f2097d5fdc8ccc08b62;p=thirdparty%2Fcurl.git testcurl.pl: allow configure args to use '=' --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 27f188f2f3..08b80d1dea 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2011, Daniel Stenberg, , 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;