Mercurial > mplayer.hg
changeset 15547:c4e5c20f2dd6
LC_ALL overrides LANG, so use it instead.
author | diego |
---|---|
date | Sun, 22 May 2005 16:27:17 +0000 |
parents | 4ac9c227d758 |
children | 13cc6689b73a |
files | version.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Sun May 22 15:34:23 2005 +0000 +++ b/version.sh Sun May 22 16:27:17 2005 +0000 @@ -17,8 +17,8 @@ ;; 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}'`