Mercurial > mplayer.hg
view version.sh @ 18756:9368c4bd503b
full update, patch by Tuncer Altay, tunceraltay (at) yahoo.com,
relayed by ismail d«Ónmez, On the behalf of Pardus Linux Team
author | gpoirier |
---|---|
date | Mon, 19 Jun 2006 20:06:24 +0000 |
parents | 06c236dd604b |
children | 04ed79acda15 |
line wrap: on
line source
#!/bin/sh revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null` extra="" if test "$1" ; then extra="-$1" fi echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h