Mercurial > mplayer.hg
changeset 18593:99a9c47040c0
Put SVN revision in the version string
Note: somebody please port this to *BSD|Darwin
author | rathann |
---|---|
date | Tue, 06 Jun 2006 10:42:30 +0000 |
parents | 500f57bf5c6f |
children | 1b4fc7410e4d |
files | version.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Tue Jun 06 10:34:45 2006 +0000 +++ b/version.sh Tue Jun 06 10:42:30 2006 +0000 @@ -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