[Bug 224270] Get exit status of process that's piped to another: set -o pipefail is missing for /bin/sh
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 1 12:21:04 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224270
--- Comment #10 from Alex Richardson <arichardson at FreeBSD.org> ---
That patch looks great, is there any chance we could get it committed?
I am currently using various hacks to use bash with -o pipefail as my build
shell but having it in bin/sh would make it much easier.
I am using -o pipefail to test my changes to build FreeBSD on Linux/macOS to
get sensible errors instead of empty .c/.h files being generated from something
like this:
foo.c:
some_command_that_doesnt_exist | sed .... > ${.TARGET}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list