aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/setlocalversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index bd6dca8a0ab2..84b88f109b80 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -108,7 +108,7 @@ scm_version()
108 fi 108 fi
109 109
110 # Check for svn and a svn repo. 110 # Check for svn and a svn repo.
111 if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then 111 if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
112 rev=`echo $rev | awk '{print $NF}'` 112 rev=`echo $rev | awk '{print $NF}'`
113 printf -- '-svn%s' "$rev" 113 printf -- '-svn%s' "$rev"
114 114