[MPlayer-cvslog] CVS: main version.sh,1.21,1.22

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Jun 6 19:51:46 CEST 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv21283

Modified Files:
	version.sh 
Log Message:
BSD/OS works same as the other BSDs, tested by Steven M. Schultz.


Index: version.sh
===================================================================
RCS file: /cvsroot/mplayer/main/version.sh,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- version.sh	5 Jun 2005 17:40:57 -0000	1.21
+++ version.sh	6 Jun 2005 17:51:44 -0000	1.22
@@ -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.




More information about the MPlayer-cvslog mailing list