]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/setlocalversion
kbuild: Unset language specific variables in setlocalversion script
[karo-tx-linux.git] / scripts / setlocalversion
index bd6dca8a0ab23b78e0499a8868ec08bdb92e48f3..84b88f109b80fcc2d7e25e594431bf3a6374962c 100755 (executable)
@@ -108,7 +108,7 @@ scm_version()
        fi
 
        # Check for svn and a svn repo.
-       if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
+       if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
                rev=`echo $rev | awk '{print $NF}'`
                printf -- '-svn%s' "$rev"