Mercurial > mplayer.hg
changeset 18595:c55903d85291
cosmetics
author | diego |
---|---|
date | Tue, 06 Jun 2006 12:01:34 +0000 |
parents | 1b4fc7410e4d |
children | a5e5f4a5a55f |
files | version.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Tue Jun 06 12:00:07 2006 +0000 +++ b/version.sh Tue Jun 06 12:01:34 2006 +0000 @@ -1,9 +1,10 @@ #!/bin/sh - last_cvs_update=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` +revision=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` extra="" if test "$1" ; then extra="-$1" fi -echo "#define VERSION \"dev-SVN-${last_cvs_update}${extra}\"" >version.h + +echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h