mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f854d9407e
commit
e63c3f261a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user