stripped \r from win32 curl --version output.

This commit is contained in:
Gunter Knauf 2009-05-21 13:02:34 +00:00
parent c328cc9608
commit 4a79462c3e
1 changed files with 3 additions and 2 deletions

View File

@ -669,8 +669,9 @@ if (!$crosscompile || (($extvercmd ne '') && (-x $extvercmd))) {
my $cmd = ($extvercmd ne '' ? $extvercmd.' ' : '')."./src/curl${binext} --version|";
open(F, $cmd);
while(<F>) {
print;
print LOG;
s/\r//;
print;
print LOG;
}
close(F);
}