testcurl.pl: allow configure args to use '='

This commit is contained in:
Daniel Stenberg 2011-05-31 10:44:10 +02:00
parent ecfe0b5b18
commit 3d64ed25df
1 changed files with 4 additions and 3 deletions

View File

@ -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;