mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Fixed CR issue with Win32 version on MSYS.
Previous fix didnt work on Linux ...
This commit is contained in:
parent
5d80017fd6
commit
0f15ed1617
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user