Skip to contentSkip to conversation

scripts: fixed svn revision l10n-ism

PATCH New f8cfe at free.fr 2 participants 2 messages May 25, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 99986051.7954541306350551899.JavaMail.root@zimbra4-e1.priv.proxad.net

#1 lore raw

PATCH 1/1 scripts: fixed svn revision l10n-ism

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

---
 setlocalversion |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/setlocalversion +2 -2
index cc2c128..8d6fe90 100755
@@ -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
#2 lore raw

PATCH 1/1 scripts: fixed svn revision l10n-ism

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"f8cfe" == f8cfe <[email protected]> writes:

f8cfe> Fixed an l10n-ism in retrieval of the svn revision. f8cfe> Signed-off-by: Stephane Fillod <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard