mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
remove one unnecessary assignment when on Darwin.
This commit is contained in:
parent
5ec3184a37
commit
f0142c323a
@ -14,9 +14,10 @@ DIRNAMEPATH=$(dirname "$0")
|
|||||||
REALPATH="$DIRNAMEPATH"
|
REALPATH="$DIRNAMEPATH"
|
||||||
# make sure this doesn't error out when readlink -f isn't available (OSX)
|
# make sure this doesn't error out when readlink -f isn't available (OSX)
|
||||||
readlink -f "$0" &>/dev/null && REALPATH=$(dirname "$(readlink -f "$0")")
|
readlink -f "$0" &>/dev/null && REALPATH=$(dirname "$(readlink -f "$0")")
|
||||||
OPENSSLBIN="${REALPATH}/openssl"
|
|
||||||
if [[ "$(uname -s)" == "Darwin" ]]; then
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
||||||
OPENSSLBIN="${REALPATH}/openssl-darwin64"
|
OPENSSLBIN="${REALPATH}/openssl-darwin64"
|
||||||
|
else
|
||||||
|
OPENSSLBIN="${REALPATH}/openssl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cipherscan requires bash4, which doesn't come by default in OSX
|
# cipherscan requires bash4, which doesn't come by default in OSX
|
||||||
|
Loading…
Reference in New Issue
Block a user