summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prereq.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index 0222172b9..ca2b54640 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -225,7 +225,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 -i "Version 4" >/dev/null
+ bash --version 2>/dev/null| grep "GNU bash" | grep -i " 4." >/dev/null
if [ $? -eq 0 ]; then
printf "yes\n"
else