2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-04 15:03:41 +01:00

Merge pull request #44 from genodeftest/patch-1

fix: ignore case in bash version string
This commit is contained in:
Julien Vehent 2015-01-26 11:10:55 -05:00
commit 606d7626db

View File

@ -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