mirror of
https://github.com/mpv-player/mpv
synced 2024-11-07 01:47:00 +01:00
fb02e87565
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18625 b3059339-0415-0410-9bf9-f77b7e298cf2
11 lines
209 B
Bash
Executable File
11 lines
209 B
Bash
Executable File
#!/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
|