Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2010 20:54:28 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Patrick Mahan <mahan@mahan.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Help with some makefile hackery
Message-ID:  <86iq57djtn.fsf@ds4.des.no>
In-Reply-To: <4C24D9BC.7030008@mahan.org> (Patrick Mahan's message of "Fri, 25 Jun 2010 09:30:52 -0700")
References:  <4C21A743.6040306@mahan.org> <86hbkujdto.fsf@ds4.des.no> <4C24A7B4.5050301@mahan.org> <86mxujdziz.fsf@ds4.des.no> <4C24D9BC.7030008@mahan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Mahan <mahan@mahan.org> writes:
> Maybe I should do this instead?
>
> src-kernel: src-kernel-tools
> 	cd src; ./amd64-kernel.sh 2>&1 > build_amd64_kernel.log; \
> 		tail -f build_amd64_kernel.log
>
> It is not too clear if the status is the last one in a compound
> command.

This won't work, because tail won't start until the build is done.  You
should just pass the file name as an argument to your script and handle
it there.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iq57djtn.fsf>