From: f8cfe at free.fr <f8cfe@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism
Date: Wed, 25 May 2011 21:10:55 +0200 (CEST) [thread overview]
Message-ID: <874525559.7955141306350655467.JavaMail.root@zimbra4-e1.priv.proxad.net> (raw)
In-Reply-To: <99986051.7954541306350551899.JavaMail.root@zimbra4-e1.priv.proxad.net>
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
next parent reply other threads:[~2011-05-25 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <99986051.7954541306350551899.JavaMail.root@zimbra4-e1.priv.proxad.net>
2011-05-25 19:10 ` f8cfe at free.fr [this message]
2011-05-25 21:28 ` [Buildroot] [PATCH] scripts: fixed svn revision l10n-ism Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874525559.7955141306350655467.JavaMail.root@zimbra4-e1.priv.proxad.net \
--to=f8cfe@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox