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