diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-21 10:48:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-21 10:48:44 +0100 |
commit | 8f2c47bea80113202a625251d89e85faa3e34764 (patch) | |
tree | 4d218671aac5884f539ea70747770fcfb1a37ac9 | |
parent | a10807f338b54a34e3038ec3ea5fdcb12634550b (diff) |
use grep -i
-rwxr-xr-x | scripts/prereq.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh index f0d5c48ed..0beb60417 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -207,7 +207,7 @@ printf " ---> checking if bash is installed.. " if which bash >/dev/null; then printf "found\n" printf " ---> checking if it is bash 4.x.. " - bash --version 2>/dev/null| grep "Version 4" >/dev/null + bash --version 2>/dev/null| grep -i "Version 4" >/dev/null if [ $? -eq 0 ]; then printf "yes\n" else |