mirror of
https://github.com/mpv-player/mpv
synced 2024-10-14 11:54:36 +02:00
f854d9407e
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18595 b3059339-0415-0410-9bf9-f77b7e298cf2
10 lines
228 B
Bash
Executable File
10 lines
228 B
Bash
Executable File
#!/bin/sh
|
|
|
|
last_cvs_update=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
|