Skip to content
Snippets Groups Projects
Commit 5e2b5edd authored by Guenter Knauf's avatar Guenter Knauf
Browse files

strip \r only on non-win32 platforms (wine on Linux).

parent b8b65216
No related branches found
No related tags found
No related merge requests found
......@@ -664,7 +664,8 @@ if (!$crosscompile || (($extvercmd ne '') && (-x $extvercmd))) {
my $cmd = ($extvercmd ne '' ? $extvercmd.' ' : '')."./src/curl${binext} --version|";
open(F, $cmd);
while(<F>) {
s/\r//;
# strip CR from output on non-win32 platforms (wine on Linux)
s/\r// if ($^O ne 'MSWin32');
print;
}
close(F);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment