added additional check to avoid calling a non-existant external script.

This commit is contained in:
Gunter Knauf 2004-07-05 23:07:59 +00:00
parent 69f9d0c916
commit c59c429a69
1 changed files with 3 additions and 4 deletions

View File

@ -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);
}