#10339: Simplify spkg/pipestatus
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.1
Component: build | Keywords: pipestatus Makefile
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by leif):
P.P.P.S.:
Rather than testing for the Bash version, it would be better to use
{{{
#!sh
if set -o | grep -w pipefail &>/dev/null; then
# shell (whatever it is) supports set -o pipefail
...
else
# not supported - work around
...
fi
}}}
since other shells might adopt that feature.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10339#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.