Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism
       [not found] <99986051.7954541306350551899.JavaMail.root@zimbra4-e1.priv.proxad.net>
@ 2011-05-25 19:10 ` f8cfe at free.fr
  2011-05-25 21:28   ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: f8cfe at free.fr @ 2011-05-25 19:10 UTC (permalink / raw)
  To: buildroot

Fixed an l10n-ism in retrieval of the svn revision.

Signed-off-by: Stephane Fillod <fillods@users.sf.net>
---
 setlocalversion |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index cc2c128..8d6fe90 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -56,9 +56,9 @@ if hgid=`hg id 2>/dev/null`; then
 fi
 
 # Check for svn and a svn repo.
-if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
+if rev=`LANG=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
 	rev=`echo $rev | awk '{print $NF}'`
-	changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
+	changes=`LANG=C svn status 2>/dev/null | grep '^[AMD]' | wc -l`
 
 	# Are there uncommitted changes?
 	if [ $changes != 0 ]; then

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism
  2011-05-25 19:10 ` [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism f8cfe at free.fr
@ 2011-05-25 21:28   ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-05-25 21:28 UTC (permalink / raw)
  To: buildroot

>>>>> "f8cfe" == f8cfe  <f8cfe@free.fr> writes:

 f8cfe> Fixed an l10n-ism in retrieval of the svn revision.
 f8cfe> Signed-off-by: Stephane Fillod <fillods@users.sf.net>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-25 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <99986051.7954541306350551899.JavaMail.root@zimbra4-e1.priv.proxad.net>
2011-05-25 19:10 ` [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism f8cfe at free.fr
2011-05-25 21:28   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox