#11914: `sage -n` fails when current directory is $SAGE_ROOT/devel/sage
-----------------------+----------------------------------------------------
Reporter: kini | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: scripts | Keywords: startup, crash, sage-env
Work_issues: | Upstream: N/A
Reviewer: | Author: Leif Leonhardy
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Comment(by leif):
Replying to [comment:17 kini]:
> If they are mostly written as POSIX-compatible, why not just go all the
way and make them all call `sh` instead, and remove bashisms? But this is
getting off topic, I think...
Hmmm. In principle we should avoid bashisms whenever possible. (One of
the very few exceptions would IMHO be `set -o pipefail`, which is
supported by bashs >=3.0, but we still officially require just 2.04 since
this version is shipped with MacOS X 10.4 [which is a mess to support
anyway], <flame> and its users are incapable of installing a more recent
version </flame>.)
The main reason we use `bash` is that we can to some extent rely on it
being functional; there are too many broken Bourne shells, or at least
`/bin/sh`ells.
[[BR]]
> I'll make an hg patch out of leif's diff.
Nice service, thanks.
I just wonder how many parts of Sage (unconsciously exploiting it) break
if we fix this bug.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11914#comment:20>
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.