8273646: Add openssl from path variable also in to Default System Openssl Path in OpensslArtifactFetcher
Reviewed-by: weijun
This commit is contained in:
parent
65ed0a742e
commit
a5108a605e
@ -82,8 +82,8 @@ public class OpensslArtifactFetcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String getDefaultSystemOpensslPath(String version) {
|
private static String getDefaultSystemOpensslPath(String version) {
|
||||||
if (verifyOpensslVersion("/usr/bin/openssl", version)) {
|
if (verifyOpensslVersion("openssl", version)) {
|
||||||
return "/usr/bin/openssl";
|
return "openssl";
|
||||||
} else if (verifyOpensslVersion("/usr/local/bin/openssl", version)) {
|
} else if (verifyOpensslVersion("/usr/local/bin/openssl", version)) {
|
||||||
return "/usr/local/bin/openssl";
|
return "/usr/local/bin/openssl";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user