[MPlayer-dev-eng] [PATCH]Do not use head in version.sh

Diego Biurrun diego at biurrun.de
Thu Apr 9 00:08:15 CEST 2009


On Wed, Apr 08, 2009 at 04:22:00PM +0000, Carl Eugen Hoyos wrote:
> Diego Biurrun <diego <at> biurrun.de> writes:
> 
> > > +# Update version.h only on revision changes to avoid spurious rebuilds
> > > +cmp -s version.h.tmp version.h || mv -f version.h.tmp version.h
> > 
> > This will leave version.h lying around.  Remove it.
> 
> My wild guess is that you mean:
> +cmp -s version.h.tmp version.h || mv -f version.h.tmp version.h && rm -f version.h.tmp

For example, but just

rm -f version.h.tmp

on a new line should work as well.

Diego



More information about the MPlayer-dev-eng mailing list