Mercurial > mplayer.hg
changeset 15666:5fa1221fb597
BSD/OS works same as the other BSDs, tested by Steven M. Schultz.
author | diego |
---|---|
date | Mon, 06 Jun 2005 17:51:44 +0000 |
parents | 9aaf33c037da |
children | 54cf007def7e |
files | version.sh |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Mon Jun 06 17:47:51 2005 +0000 +++ b/version.sh Mon Jun 06 17:51:44 2005 +0000 @@ -5,17 +5,7 @@ CYGWIN*|Linux) last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` ;; - BSD/OS) - LS=`ls -lT CVS/Entries` - month=`echo $LS | awk -F" " '{print $6}'` - day=`echo $LS | awk -F" " '{print $7}'` - hms=`echo $LS | awk -F" " '{print $8}'` - hour=`echo $hms | awk -F":" '{print $1}'` - minute=`echo $hms | awk -F":" '{print $2}'` - year=`echo $LS | awk -F" " '{print $9}'` - last_cvs_update="${year}${month}${day}-${hour}:${minute}" - ;; - Darwin|*BSD) + 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.