1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-05 05:37:37 +00:00
mpv/version.sh
diego e63c3f261a cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 12:01:34 +00:00

11 lines
212 B
Bash
Executable File

#!/bin/sh
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-${revision}${extra}\"" > version.h