pipefail doesn't work on NetBSD or FreeBSD

Gary E. Miller gem at rellim.com
Fri Nov 30 02:50:16 UTC 2018


Yo Hal!

On Thu, 29 Nov 2018 18:23:16 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> > > How about yoou just comment out line 12?  
> ...
> > I know.  I'm curious how much else will need fixing.  If pipefail
> > is the only problem then I may have a solution.   
> 
> It dies at the end, trying to test PYTHONPATH

Good.  Then this may be the workaround for pipefal:

https://stackoverflow.com/questions/13084352/how-to-implement-set-o-pipefail-in-a-posix-way-almost-done-expert-help-nee

> ./tests/option-tester.sh: 98: ./tests/option-tester.sh: PYTHONPATH:
> parameter not set

Weird.  Stupid shell.  Just test that PYTHONPATH exists before trying
to echo it.

> If I also comment out line 14. it works on old Ubuntu, NetBSD, and
> FreeBSD.

Then we know what needs fixing.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181129/9209d5a1/attachment.bin>


More information about the devel mailing list