[MPlayer-cvslog] CVS: main version.sh,1.17,1.18
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sun May 22 18:27:20 CEST 2005
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv15180
Modified Files:
version.sh
Log Message:
LC_ALL overrides LANG, so use it instead.
Index: version.sh
===================================================================
RCS file: /cvsroot/mplayer/main/version.sh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- version.sh 21 May 2005 14:44:10 -0000 1.17
+++ version.sh 22 May 2005 16:27:17 -0000 1.18
@@ -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}'`
More information about the MPlayer-cvslog
mailing list