Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2018 12:21:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 224270] Get exit status of process that's piped to another: set -o pipefail is missing for /bin/sh
Message-ID:  <bug-224270-227-gY3mG6sCbl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224270-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224270-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224270

--- Comment #10 from Alex Richardson <arichardson@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 somet=
hing
like this:

foo.c:
    some_command_that_doesnt_exist | sed .... > ${.TARGET}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224270-227-gY3mG6sCbl>