mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-15 18:51:28 +02:00
Merge pull request #2846 from testssl/find_autohomebrewssl
Try harder to find OPENSSL2
This commit is contained in:
commit
a719c46bcb
@ -20947,6 +20947,11 @@ find_openssl_binary() {
|
|||||||
|
|
||||||
openssl_location="$(type -p $OPENSSL)"
|
openssl_location="$(type -p $OPENSSL)"
|
||||||
|
|
||||||
|
# kludge for e.g. MacOS and brew
|
||||||
|
if [[ $OPENSSL == $OPENSSL2 ]]; then
|
||||||
|
OPENSSL2=$(type -a openssl | grep -v /usr/bin/openssl | awk '{ print $NF }')
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -n "$GIT_REL" ]] && \
|
[[ -n "$GIT_REL" ]] && \
|
||||||
cwd="$PWD" || \
|
cwd="$PWD" || \
|
||||||
cwd="$RUN_DIR"
|
cwd="$RUN_DIR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user