Use LC_ALL instead of LANG since the former overrides the latter.

Originally committed as revision 5861 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 19 years ago
parent d6a07a130d
commit 59d0fc5779
  1. 2
      version.sh

@ -1,6 +1,6 @@
#!/bin/sh #!/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 test $svn_revision || svn_revision=UNKNOWN
NEW_REVISION="#define FFMPEG_VERSION \"SVN-r$svn_revision\"" NEW_REVISION="#define FFMPEG_VERSION \"SVN-r$svn_revision\""

Loading…
Cancel
Save