[MPlayer-dev-eng] [PATCH] version.sh date -r for BSD/OS
Felix Buenemann
atmosfear at users.sourceforge.net
Tue Jun 11 06:47:21 CEST 2002
On Tuesday 11 June 2002 06:20, Steven M. Schultz wrote:
> Hi!
>
> > From: Felix Buenemann <atmosfear at users.sourceforge.net>
> >
> > Hmm, I think I'll rewrite version.sh completely, so it will first check
> > os and then have a switch statement, to chooses correct command by os.
> > Another chance would be to completely integrate the script into
> > configure, with the disadvantage, that version string only changes, if
> > configure is run. Or another idea would be to generate a small c prog
> > that gets the date.
>
> Another idea would be to always use the 'date +%y%m%d-%H:%M' form.
>
> I've tested it on Linux, FreeBSD, and BSD/OS. Perhaps someone who
> has a OpenBSD and NetBSD system could verify that it works there also
> (I think it will).
>
> Overall 'date +%y%m%d-%H:%M' seems to be very portable.
yea, but misses the fact, that really the date shown should be the cvs-date of
mplayer used and not the compile-date.
> Cheers,
> Steven Schultz
> sms at 2bsd.com
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-dev-eng
mailing list