From dcabc0f501872245d37194a9462fbac26e24f10f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Feb 2018 06:18:37 +0000 Subject: use LC_ALL instead of LANG, reported by mahmudov --- scripts/prereq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 20e72f72d..6fb317b03 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.. " - LANG=C bash --version 2>/dev/null| grep -i "version 4" >/dev/null + LC_ALL=C bash --version 2>/dev/null| grep -i "version 4" >/dev/null if [ $? -eq 0 ]; then printf "yes\n" else -- cgit v1.2.3