[MPlayer-cvslog] CVS: main version.sh,1.18,1.19

Diego Biurrun CVS syncmail at mplayerhq.hu
Sun Jun 5 16:17:36 CEST 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv30798

Modified Files:
	version.sh 
Log Message:
Days should be two digits.


Index: version.sh
===================================================================
RCS file: /cvsroot/mplayer/main/version.sh,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- version.sh	22 May 2005 16:27:17 -0000	1.18
+++ version.sh	5 Jun 2005 14:17:34 -0000	1.19
@@ -22,7 +22,7 @@
 	year=`echo $LS | cut -d' ' -f9 | cut -c 3-4`
 	month=`echo $LS | awk -F" " '{printf "%.2d", \
 		(index("JanFebMarAprMayJunJulAugSepOctNovDec",$6)+2)/3}'`
-	day=`echo $LS | cut -d' ' -f7`
+	day=`printf %.2d \` echo $LS | cut -d' ' -f7 \` `
 	hour=`echo $LS | cut -d' ' -f8 | cut -d: -f1`
 	minute=`echo $LS | cut -d' ' -f8 | cut -d: -f2`
 	last_cvs_update="${year}${month}${day}-${hour}:${minute}"




More information about the MPlayer-cvslog mailing list