From f1cf24ba56868da2d9bcb01469d76b956bc8d6f5 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 22 May 2005 16:27:17 +0000 Subject: LC_ALL overrides LANG, so use it instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15548 b3059339-0415-0410-9bf9-f77b7e298cf2 --- version.sh | 4 ++-- 1 file 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}'` -- cgit v1.2.3