git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18762 b3059339-0415-0410-9bf9-f77b7e298cf2
8 lines
175 B
Bash
Executable File
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
|