On 15 December 2014 at 09:25, Ed Maste <ema...@freebsd.org> wrote:
> Author: emaste
> Date: Mon Dec 15 14:25:42 2014
> New Revision: 275804
> URL: https://svnweb.freebsd.org/changeset/base/275804
>
> Log:
>   Remove empty generated file upon gperf failure
>...
> -           ${.ALLSRC} > ${.TARGET}
> +           ${.ALLSRC} > ${.TARGET} || (rm -f ${.TARGET}; false)

There are additional cases of this potential issue in the tree. In
most cases I examined the target invokes tools that are expected to
exist on the build host (such as sed or awk) so should not be a
problem in practice. There are some cases (gensnmptree, make-roken)
that we may want to revisit as part of a more holistic build
infrastructure project.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to