summaryrefslogtreecommitdiffstats
path: root/version.sh
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-22 16:27:17 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-22 16:27:17 +0000
commitf1cf24ba56868da2d9bcb01469d76b956bc8d6f5 (patch)
tree6a1053d0c6270cbdec6046062c0e1965333dd174 /version.sh
parentd1c33346adc05ae1791c99ea18b3430476fb274a (diff)
downloadmpv-f1cf24ba56868da2d9bcb01469d76b956bc8d6f5.tar.bz2
mpv-f1cf24ba56868da2d9bcb01469d76b956bc8d6f5.tar.xz
LC_ALL overrides LANG, so use it instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15548 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'version.sh')
-rwxr-xr-xversion.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/version.sh b/version.sh
index 9be2ceb1a0..21e708ead9 100755
--- a/version.sh
+++ b/version.sh
@@ -17,8 +17,8 @@ case "$OS" in
;;
Darwin|*BSD)
# BSD 'date -r' does not print modification time
- # LANG=C sets month/day order and English language in the date string
- LS=`LANG=C ls -lT CVS/Entries`
+ # LC_ALL=C sets month/day order and English language in the date string
+ LS=`LC_ALL=C ls -lT CVS/Entries`
year=`echo $LS | cut -d' ' -f9 | cut -c 3-4`
month=`echo $LS | awk -F" " '{printf "%.2d", \
(index("JanFebMarAprMayJunJulAugSepOctNovDec",$6)+2)/3}'`