[Buildroot] [git commit branch/next] dependencies.sh: suppress output of locale
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Aug 2 19:52:53 UTC 2012
commit: http://git.buildroot.net/buildroot/commit/?id=99dd58418daee463074d7fd38d6ea98aca97d304
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
support/dependencies/dependencies.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index c47ffcf..9f0f6a9 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
More information about the buildroot
mailing list