summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-20 06:18:37 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-20 06:18:37 +0000
commitdcabc0f501872245d37194a9462fbac26e24f10f (patch)
tree0b463ea652c70591ba48a9d962b60de40dd61e77
parent237e296493d295647a6fbdb02e84f8f4c2a1c810 (diff)
use LC_ALL instead of LANG, reported by mahmudov
-rwxr-xr-xscripts/prereq.sh2
1 files changed, 1 insertions, 1 deletions
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