summaryrefslogtreecommitdiffstats
path: root/support/scripts/setlocalversion
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts/setlocalversion')
-rwxr-xr-xsupport/scripts/setlocalversion4
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