diff options
author | 2005-06-05 14:17:34 +0000 | |
---|---|---|
committer | 2005-06-05 14:17:34 +0000 | |
commit | bd5b237ceb40b897398d2c4aa89c01e670a2eb50 (patch) | |
tree | 443d1d2a611f9447c9e33d9803383d9972f384bc | |
parent | 31dcc9c07e323c1ddb338cf6d40958950ba9336f (diff) |
Days should be two digits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15644 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |