Mercurial > mplayer.hg
annotate version.sh @ 18759:04ed79acda15
simplify
author | diego |
---|---|
date | Tue, 20 Jun 2006 10:08:19 +0000 |
parents | 06c236dd604b |
children | b5777da79b53 |
rev | line source |
---|---|
420 | 1 #!/bin/sh |
2 | |
18759 | 3 revision=r`grep revision .svn/entries | cut -d '"' -f 2 2> /dev/null` |
3292
7fa3a928631a
not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
jaf
parents:
1621
diff
changeset
|
4 |
18759 | 5 test "$1" && extra="-$1" |
18595 | 6 |
7 echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h |