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

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 8 18:22:00 CEST 2009


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

Carl Eugen





More information about the MPlayer-dev-eng mailing list