1
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 00:06:25 +01:00

Put SVN revision in the version string

Note: somebody please port this to *BSD|Darwin


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18594 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2006-06-06 10:42:30 +00:00
parent 9bf06dbc52
commit 0597f58b9b

View File

@ -3,7 +3,7 @@
OS=`uname -s`
case "$OS" in
CYGWIN*|Linux|MINGW*)
last_cvs_update=`date -r .svn +%y%m%d-%H:%M 2>/dev/null`
last_cvs_update=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null`
;;
Darwin|*BSD*)
# BSD 'date -r' does not print modification time