2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-09-28 23:53:41 +02:00

Spanish support for bash version check

Modified the grep to also match for the bash's version output in Spanish.
This commit is contained in:
Shawn Thompson 2015-01-19 23:45:37 +11:00
parent 3915164430
commit 3abdf1130e

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 --version |grep -E 'version 4|versión 4)" == "" ]; then
echo "Bash version 4 is required to run cipherscan."
echo "Please upgrade your version of bash (ex: brew install bash)."
exit 1