* [Buildroot] [PATCH] dependencies.sh: suppress output of locale
@ 2012-07-11 5:42 Arnout Vandecappelle
2012-07-11 9:17 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2012-07-11 5:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
support/dependencies/dependencies.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index c47ffcf..590d1b5 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 -i utf8$ > /dev/null; then
/bin/echo -e "\nYou need at least one UTF8 locale to build a toolchain supporting locales\n"
exit 1 ;
fi
--
tg: (b8b57bb..) t/dependencies-dont-print-locale (depends on: master)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] dependencies.sh: suppress output of locale
2012-07-11 5:42 [Buildroot] [PATCH] dependencies.sh: suppress output of locale Arnout Vandecappelle
@ 2012-07-11 9:17 ` Thomas Petazzoni
2012-07-14 21:03 ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-07-11 9:17 UTC (permalink / raw)
To: buildroot
Le Wed, 11 Jul 2012 07:42:49 +0200,
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> a ?crit :
> + if ! locale -a | grep -i utf8$ > /dev/null; then
What about grep -q ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] dependencies.sh: suppress output of locale
2012-07-11 9:17 ` Thomas Petazzoni
@ 2012-07-14 21:03 ` Arnout Vandecappelle
2012-07-14 23:10 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2012-07-14 21:03 UTC (permalink / raw)
To: buildroot
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v2: Use grep -q as suggested by ThomasP
support/dependencies/dependencies.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
tg: (b8b57bb..) t/dependencies-dont-print-locale (depends on: master)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] dependencies.sh: suppress output of locale
2012-07-14 21:03 ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
@ 2012-07-14 23:10 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-07-14 23:10 UTC (permalink / raw)
To: buildroot
Le Sat, 14 Jul 2012 23:03:28 +0200,
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> a ?crit :
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Applied, thanks.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-14 23:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11 5:42 [Buildroot] [PATCH] dependencies.sh: suppress output of locale Arnout Vandecappelle
2012-07-11 9:17 ` Thomas Petazzoni
2012-07-14 21:03 ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
2012-07-14 23:10 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.