Mercurial > mplayer.hg
changeset 18559:ff09faee7c14
SVN switch: get version date from .svn subdir instead of CVS/Entries
author | rtogni |
---|---|
date | Sun, 04 Jun 2006 22:48:59 +0000 |
parents | 4928dd61f136 |
children | 0f3dc1ba69d1 |
files | version.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Sun Jun 04 22:41:27 2006 +0000 +++ b/version.sh Sun Jun 04 22:48:59 2006 +0000 @@ -3,13 +3,13 @@ OS=`uname -s` case "$OS" in CYGWIN*|Linux|MINGW*) - last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` + last_cvs_update=`date -r .svn +%y%m%d-%H:%M 2>/dev/null` ;; Darwin|*BSD*) # BSD 'date -r' does not print modification time # LC_ALL=C sets month/day order and English language in the date string # The if in the awk call works around wrong day/month order. - last_cvs_update=`LC_ALL=C ls -lT CVS/Entries | \ + last_cvs_update=`LC_ALL=C ls -lT .svn | \ awk '{ \ day=$7; \ month=index(" JanFebMarAprMayJunJulAugSepOctNovDec", $6); \