mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 22:33:40 +01:00
Make sure that custom openssl gets selected
Symlinks are now resolved (when readlink -f is available)
This commit is contained in:
parent
818bf29b02
commit
558bf7c9e2
@ -10,7 +10,10 @@
|
|||||||
|
|
||||||
DOBENCHMARK=0
|
DOBENCHMARK=0
|
||||||
BENCHMARKITER=30
|
BENCHMARKITER=30
|
||||||
OPENSSLBIN="$(dirname $0)/openssl"
|
REALPATH=$(dirname $0)
|
||||||
|
# make sure this doesn't error out when readlink -f isn't available (OSX)
|
||||||
|
readlink -f $0 &>/dev/null && REALPATH=$(dirname $(readlink -f $0))
|
||||||
|
OPENSSLBIN="${REALPATH}/openssl"
|
||||||
|
|
||||||
# test that timeout or gtimeout (darwin) are present
|
# test that timeout or gtimeout (darwin) are present
|
||||||
TIMEOUTBIN="$(which timeout)"
|
TIMEOUTBIN="$(which timeout)"
|
||||||
|
Loading…
Reference in New Issue
Block a user