Modified to not mix ordinary print to STDOUT with a system() that prints to

stdout, since I've found cases on Solaris where the second output mixes with
the first and thus the big check-script doesn't properly find the first
string in the output stream.
This commit is contained in:
Daniel Stenberg 2005-04-18 05:46:10 +00:00
parent 7fba9ed398
commit 6063dff8d0

View File

@ -522,7 +522,12 @@ if ($targetos =~ /netware/) {
}
elsif(!$crosscompile) {
logit "display curl$binext --version output";
system("./src/curl$binext --version");
open(F, "./src/curl$binext --version|");
while(<F>) {
print;
print LOG;
}
close(F);
}
if ($configurebuild && !$crosscompile) {