[Mplayer-dev-eng] problems

Balazs Tibor tibcu at sch.bme.hu
Mon Jun 18 19:24:54 CEST 2001


> > A'rpi, your version.sh isn't always accurate (mine is). (every case, when
> > main/CVS hasn't changed, but some of the subdirectories of main, it gives
> > old values)
> i know. but can you fix it?

ls -l -R --full-time|grep Entries|awk '{ print($10,$7,$8,$9) }'|sed -e s/Jan/01/ -e s/Feb/02/ -e s/Mar/03/ -e s/Apr/04/ -e s/May/05/ -e s/Jun/06/ -e s/Jul/07/ -e s/Aug/08/ -e s/Sep/09/ -e s/Oct/10/ -e s/Nov/11/ -e s/Dec/12/|sort|tail -n 1 |while read i; do echo '#define VERSION "0.17-cvs -- last update: '$i'"';done

but it's VERY ugly (my first and since then unchanged version.sh)

please don't laugh at me! :-)

Tibcu


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list