diff options
author | Frederik Pasch <fpasch@googlemail.com> | 2012-01-16 13:54:57 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-01-16 13:54:57 +0100 |
commit | 4861aed1f1fccd20bf092127b255562eaaf183c1 (patch) | |
tree | 6c8d197fba1a42d63be68b4a782d32aaed4f8681 /support | |
parent | 8c7c0ab34469ac7bfe1f5ccb9fc3c74c9ef0b4c7 (diff) |
setlocalversion: fix i18n issue with svn
Closes #4700
Signed-off-by: Frederik Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support')
-rwxr-xr-x | support/scripts/setlocalversion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/setlocalversion b/support/scripts/setlocalversion index 8d6fe909f..a6edd7194 100755 --- a/support/scripts/setlocalversion +++ b/support/scripts/setlocalversion @@ -56,9 +56,9 @@ if hgid=`hg id 2>/dev/null`; then fi # Check for svn and a svn repo. -if rev=`LANG=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then +if rev=`LC_ALL=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then rev=`echo $rev | awk '{print $NF}'` - changes=`LANG=C svn status 2>/dev/null | grep '^[AMD]' | wc -l` + changes=`LC_ALL=C svn status 2>/dev/null | grep '^[AMD]' | wc -l` # Are there uncommitted changes? if [ $changes != 0 ]; then |