From 3d64ed25dfacef8b44835f2097d5fdc8ccc08b62 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 31 May 2011 10:44:10 +0200 Subject: [PATCH] testcurl.pl: allow configure args to use '=' --- tests/testcurl.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 27f188f2f..08b80d1de 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;