Mercurial > mplayer.hg
view version.sh @ 18598:94987df8601a
sync with help_mp-en.h 1.238, patch by Pierre Lombard and Gilles Pelletier
author | gpoirier |
---|---|
date | Tue, 06 Jun 2006 13:48:26 +0000 |
parents | c55903d85291 |
children | 06c236dd604b |
line wrap: on
line source
#!/bin/sh 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-${revision}${extra}\"" > version.h