diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-04 22:48:59 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-04 22:48:59 +0000 |
commit | 09208431ab3f98f20add73a3848723cd8fa4d127 (patch) | |
tree | 9a37e5ee0d660c4b58cf8e3d1f799a049fc00aae | |
parent | 9da93175794398fefeb45c6c53abdcdeda325101 (diff) | |
download | mpv-09208431ab3f98f20add73a3848723cd8fa4d127.tar.bz2 mpv-09208431ab3f98f20add73a3848723cd8fa4d127.tar.xz |
SVN switch: get version date from .svn subdir instead of CVS/Entries
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18560 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | version.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/version.sh b/version.sh index a85b7c833f..de4a2ef35a 100755 --- a/version.sh +++ b/version.sh @@ -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); \ |