summaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-31 10:44:10 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-31 13:35:26 +0200
commit3d64ed25dfacef8b44835f2097d5fdc8ccc08b62 (patch)
treeed6808c0fd24a96f0fa64ff8f2115f0c09250245 /tests/testcurl.pl
parentecfe0b5b18607f1d6cce3ebbaa50117107247b6c (diff)
downloadcurl-3d64ed25dfacef8b44835f2097d5fdc8ccc08b62.tar.gz
testcurl.pl: allow configure args to use '='
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl7
1 files 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, <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;