1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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

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 # This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms # you should have received as part of this distribution. The terms
@ -108,8 +108,9 @@ while ($ARGV[0]) {
elsif ($ARGV[0] =~ /--desc=/) { elsif ($ARGV[0] =~ /--desc=/) {
$desc = (split(/=/, shift @ARGV))[1]; $desc = (split(/=/, shift @ARGV))[1];
} }
elsif ($ARGV[0] =~ /--configure=/) { elsif ($ARGV[0] =~ /--configure=(.*)/) {
$confopts = (split(/=/, shift @ARGV))[1]; $confopts = $1;
shift @ARGV;
} }
elsif (($ARGV[0] eq "--nocvsup") || ($ARGV[0] eq "--nogitpull")) { elsif (($ARGV[0] eq "--nocvsup") || ($ARGV[0] eq "--nogitpull")) {
$nogitpull=1; $nogitpull=1;