1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00

LC_ALL overrides LANG, so use it instead.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15548 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-05-22 16:27:17 +00:00
parent d1c33346ad
commit f1cf24ba56

View File

@ -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}'`