From: Arnout Vandecappelle (Essensium/Mind) Date: Sat, 14 Jul 2012 21:03:28 +0000 (+0200) Subject: dependencies.sh: suppress output of locale X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99dd58418daee463074d7fd38d6ea98aca97d304;p=buildroot.git dependencies.sh: suppress output of locale Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index c47ffcf43c..9f0f6a9fb5 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -153,7 +153,7 @@ if grep ^BR2_TOOLCHAIN_BUILDROOT=y $CONFIG_FILE > /dev/null && \ /bin/echo -e "\nYou need locale support on your build machine to build a toolchain supporting locales\n" exit 1 ; fi - if ! locale -a | grep -i utf8$ ; then + if ! locale -a | grep -q -i utf8$ ; then /bin/echo -e "\nYou need at least one UTF8 locale to build a toolchain supporting locales\n" exit 1 ; fi