Fixed CR issue with Win32 version on MSYS.

Previous fix didnt work on Linux ...
This commit is contained in:
Guenter Knauf 2012-07-20 17:22:10 +02:00
parent 5d80017fd6
commit 0f15ed1617

View File

@ -14,10 +14,11 @@ my $curl_protocols="";
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
while( <CURL> )
{
$curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
$curl_protocols = lc($_) if ( /$what:/i );
}
close CURL;
$curl_protocols =~ s/\r//;
$curl_protocols =~ /\w+: (.*)$/;
@curl = split / /,$1;