From c59c429a69752715c778a168f4ca5a13af08250e Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Mon, 5 Jul 2004 23:07:59 +0000 Subject: added additional check to avoid calling a non-existant external script. --- tests/testcurl.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/testcurl.pl') diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 3ffaa53ba..24ea04fa9 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -432,9 +432,8 @@ if ($targetos ne '' && $targetos =~ /netware/) { system('../../curlver'); } } else { -logit "display curl$binext --version output"; - -system("./src/curl$binext --version"); + logit "display curl$binext --version output"; + system("./src/curl$binext --version"); } if ($gnulikebuild) { @@ -465,7 +464,7 @@ if ($gnulikebuild) { } # create a tarball if we got that option. -if ($mktarball ne '') { +if (($mktarball ne '') && (-f $mktarball)) { system($mktarball); } -- cgit v1.2.3