summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-03 21:24:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-03 21:24:41 +0100
commitb04be6d687becb342ce4c482944a22f685a0d191 (patch)
treec80d49bb1f92788e6ab8f188d26f84f1c804682c /scripts
parentc060d54d121039609d47266fe554115147c11256 (diff)
use egrep to fix an grep issue on OpenBSD 7.0
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 bd0b525d8..b93d17917 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -233,7 +233,7 @@ printf " ---> checking if bash is installed.. "
if which bash >/dev/null; then
printf "found\n"
printf " ---> checking if it is bash 4.x or 5.x.. "
- LC_ALL=C bash --version 2>/dev/null| grep -i "version \(4\|5\)" >/dev/null
+ LC_ALL=C bash --version 2>/dev/null| egrep -i 'version 4|5' >/dev/null
if [ $? -eq 0 ]; then
printf "yes\n"
else