Mercurial > mplayer.hg
view version.sh @ 18781:0cb447b69ddd
CVS --> Subversion as noticed by Jacob Beacham beacham**@**uiuc**.**edu
author | diego |
---|---|
date | Thu, 22 Jun 2006 09:39:14 +0000 |
parents | 04ed79acda15 |
children | b5777da79b53 |
line wrap: on
line source
#!/bin/sh revision=r`grep revision .svn/entries | cut -d '"' -f 2 2> /dev/null` test "$1" && extra="-$1" echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h