From c78df568013bd949cdfe695da2581b420f10d81b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 12 Jun 2003 23:05:12 +0000 Subject: get and use only the first line of the curl --version output --- tests/runtests.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/runtests.pl') diff --git a/tests/runtests.pl b/tests/runtests.pl index db3c3083f..e73e20a15 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -434,7 +434,8 @@ sub displaydata { unlink($memdump); # remove this if there was one left - my $version=`$CURL -V`; + my @version=`$CURL -V`; + my $version=$version[0]; chomp $version; my $curl = $version; -- cgit v1.2.3