diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-06-06 17:51:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-06-06 17:51:44 +0000 |
commit | 71beeed8b83244b6d9cdd0a13ebc7e7cfeb44c6e (patch) | |
tree | 2cf472d75f83329e541820d57c5042356e0b588f | |
parent | 15a2789d06f4655669ba2cc294484e46172f9bda (diff) | |
download | mpv-71beeed8b83244b6d9cdd0a13ebc7e7cfeb44c6e.tar.bz2 mpv-71beeed8b83244b6d9cdd0a13ebc7e7cfeb44c6e.tar.xz |
BSD/OS works same as the other BSDs, tested by Steven M. Schultz.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15667 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | version.sh | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/version.sh b/version.sh index c27d0f8cf6..6bcc84199b 100755 --- a/version.sh +++ b/version.sh @@ -5,17 +5,7 @@ case "$OS" in 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. |