diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-22 16:27:17 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-22 16:27:17 +0000 |
commit | f1cf24ba56868da2d9bcb01469d76b956bc8d6f5 (patch) | |
tree | 6a1053d0c6270cbdec6046062c0e1965333dd174 | |
parent | d1c33346adc05ae1791c99ea18b3430476fb274a (diff) |
LC_ALL overrides LANG, so use it instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15548 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | version.sh | 4 |
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}'` |