mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
added additional check to avoid calling a non-existant external script.
This commit is contained in:
parent
69f9d0c916
commit
c59c429a69
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user