summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorf8cfe@free.fr <f8cfe@free.fr>2011-05-25 21:10:55 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-25 23:27:22 +0200
commitcff599de0816704be966c5f9da36bfab14d9dcaa (patch)
treed9dfcc8751c1acb272e4aa85f7e7eafc4930bf44
parent99ead3c2ead605d6504b9abad111778dc2a93ae6 (diff)
setlocalversion: fix svn revision l10n-ism
Fixed an l10n-ism in retrieval of the svn revision. Signed-off-by: Stephane Fillod <fillods@users.sf.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rwxr-xr-xscripts/setlocalversion4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index cc2c128f0..8d6fe909f 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