1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 03:45:23 +00:00
mpv/version.sh
diego 2db0251591 simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18762 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 10:08:19 +00:00

8 lines
175 B
Bash
Executable File

#!/bin/sh
revision=r`grep revision .svn/entries | cut -d '"' -f 2 2> /dev/null`
test "$1" && extra="-$1"
echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h