Use LC_ALL instead of LANG since the former overrides the latter.
authorDiego Biurrun <diego@biurrun.de>
Sat, 29 Jul 2006 23:32:10 +0000 (23:32 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 29 Jul 2006 23:32:10 +0000 (23:32 +0000)
Originally committed as revision 5861 to svn://svn.ffmpeg.org/ffmpeg/trunk

version.sh

index d1090f6..dff7ea3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-svn_revision=`cd "$1" && LANG=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
+svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
 test $svn_revision || svn_revision=UNKNOWN
 
 NEW_REVISION="#define FFMPEG_VERSION \"SVN-r$svn_revision\""