# HG changeset patch # User diego # Date 1116779237 0 # Node ID c4e5c20f2dd60c98872bb808a96c0202b673218f # Parent 4ac9c227d758f1153ee6b37ec79636e826ebe87c LC_ALL overrides LANG, so use it instead. diff -r 4ac9c227d758 -r c4e5c20f2dd6 version.sh --- 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}'`