From bd5b237ceb40b897398d2c4aa89c01e670a2eb50 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 5 Jun 2005 14:17:34 +0000 Subject: [PATCH] Days should be two digits. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15644 b3059339-0415-0410-9bf9-f77b7e298cf2 --- version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.sh b/version.sh index 21e708ead9..1bdc221e06 100755 --- a/version.sh +++ b/version.sh @@ -22,7 +22,7 @@ case "$OS" in 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}"