mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48: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');
|
system('../../curlver');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logit "display curl$binext --version output";
|
logit "display curl$binext --version output";
|
||||||
|
system("./src/curl$binext --version");
|
||||||
system("./src/curl$binext --version");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($gnulikebuild) {
|
if ($gnulikebuild) {
|
||||||
@ -465,7 +464,7 @@ if ($gnulikebuild) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# create a tarball if we got that option.
|
# create a tarball if we got that option.
|
||||||
if ($mktarball ne '') {
|
if (($mktarball ne '') && (-f $mktarball)) {
|
||||||
system($mktarball);
|
system($mktarball);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user