cosmetics

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-06-06 12:01:34 +00:00
parent f854d9407e
commit e63c3f261a
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
#!/bin/sh
last_cvs_update=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null`
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-${last_cvs_update}${extra}\"" >version.h
echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h