[distcc] autogen.sh uses a deprecated `head` option.

Martin Pool mbp at sourcefrog.net
Thu Sep 18 00:48:11 GMT 2003


On 17 Sep 2003 Alexandre Oliva <oliva at lsd.ic.unicamp.br> wrote:

> On Sep 17, 2003, Martin Pool <mbp at ozlabs.org> wrote:
> 
> > On 17 Sep 2003, Lisa Seelye <lisa at gentoo.org> wrote:
> >> It uses `head -1`.  This has been replaced with `head -n 1`.
> 
> > Thanks, taken.
> 
> Unfortunately `head -n 1' isn't portable either.  Use `sed 1q'
> instead.

OK. 

Many other autogen scripts seem to use this pattern.  I guess nobody
builds them from CVS on machines that don't have that behaviour in
head(1).

-- 
Martin 



More information about the distcc mailing list