Subject: Re: fail is empty even when failed in mk/bsd.pkg.patch.mk
To: Jeremy C. Reed <reed@reedmedia.net>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 09/22/2005 20:10:06
Jeremy C. Reed wrote:
> I am on DraginFly and fail is empty even when patch failed.
> 
> I don't see problem. It doesn't open any subshell and just uses { }.

 From bsd.pkg.patch.mk:
${ECHO} "$$algsum" | { read alg recorded; ...; fail="$$fail $i"; }

The pipe opens an implicit subshell.

man sh
/unlike

Roland