mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 06:13:42 +01:00
Merge pull request #44 from genodeftest/patch-1
fix: ignore case in bash version string
This commit is contained in:
commit
606d7626db
@ -19,7 +19,7 @@ if [ "$(uname -s)" == "Darwin" ]; then
|
||||
fi
|
||||
|
||||
# cipherscan requires bash4, which doesn't come by default in OSX
|
||||
if [ "$(bash --version |grep 'version 4')" == "" ]; then
|
||||
if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
|
||||
echo "Bash version 4 is required to run cipherscan."
|
||||
echo "Please upgrade your version of bash (ex: brew install bash)."
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user