From 3abdf1130e09b139ad8183dd00ec7fd96129db22 Mon Sep 17 00:00:00 2001 From: Shawn Thompson Date: Mon, 19 Jan 2015 23:45:37 +1100 Subject: [PATCH] Spanish support for bash version check Modified the grep to also match for the bash's version output in Spanish. --- cipherscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipherscan b/cipherscan index 4bf4e5b..5af5652 100755 --- a/cipherscan +++ b/cipherscan @@ -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