version.sh : fix revision in git-svn trees
commitd867543e30eb6d7bf2ddb52c207250537e2b4379
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 4 Jun 2009 15:05:00 +0000 (4 15:05 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 4 Jun 2009 15:05:00 +0000 (4 15:05 +0000)
tree0c9fb5c368740d2f0196c44e9437e5b651b871fa
parent69b215028c1756e7fb3b1a83ba78ff96d3af92a0
version.sh : fix revision in git-svn trees

"git log .. -1" only shows one commit (the last one), so extract the last line (git-svn-id:..) with tail -n 1, instead of the first line (which is the committer's message in case of multi lines body)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21188 a1c6a512-1295-4272-9138-f99709370657
tools/version.sh