Mercurial > mplayer.hg
comparison version.sh @ 18595:c55903d85291
cosmetics
author | diego |
---|---|
date | Tue, 06 Jun 2006 12:01:34 +0000 |
parents | 1b4fc7410e4d |
children | 06c236dd604b |
comparison
equal
deleted
inserted
replaced
18594:1b4fc7410e4d | 18595:c55903d85291 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 last_cvs_update=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` | 3 revision=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` |
4 | 4 |
5 extra="" | 5 extra="" |
6 if test "$1" ; then | 6 if test "$1" ; then |
7 extra="-$1" | 7 extra="-$1" |
8 fi | 8 fi |
9 echo "#define VERSION \"dev-SVN-${last_cvs_update}${extra}\"" >version.h | 9 |
10 echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h |