dependencies.sh: suppress output of locale
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 14 Jul 2012 21:03:28 +0000 (23:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Jul 2012 23:09:40 +0000 (01:09 +0200)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/dependencies.sh

index c47ffcf43cc319bfe7caf1c0e6b2a0e359d2a1dd..9f0f6a9fb5aacc96d24f10e0e397be0122aac97e 100755 (executable)
@@ -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