summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-07-14 23:03:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-15 01:09:40 +0200
commit99dd58418daee463074d7fd38d6ea98aca97d304 (patch)
tree80540bfe95c71968dc3275a0034c9371c5659934 /support
parentb6ebb7fd1bd778709c3acb10b96a43e6bd863dae (diff)
dependencies.sh: suppress output of locale
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/dependencies/dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index c47ffcf43..9f0f6a9fb 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