#9644: Add error messages and update documentation for spaces in $SAGE_ROOT
-------------------------------------------------------------------------------------------------+
Reporter: mpatel
| Owner: jason
Type: defect
| Status: positive_review
Priority: major
| Milestone: sage-4.6
Component: misc
| Keywords:
Author: John Palmieri, Leif Leonhardy
| Upstream: N/A
Reviewer: John Palmieri, David Kirkby
| Merged:
Work_issues: Update README.txt, Wiki page(s), Installation Guide; put info on
download page(s) |
-------------------------------------------------------------------------------------------------+
Changes (by drkirkby):
* status: needs_review => positive_review
Comment:
The changes look fine.
The {{{/bin/sh: source:}}} is quite a common error. We should not solve it
by redirecting stderr to /dev/null, but removing the word {{{source}}} and
replacing it with a dot. I suspect there are many instances of this
lucking around. The problem is the command does not exist in {{{/bin/sh}}}
but does in {{{bash}}} See below.
Here my default shell is {{{bash}}}, so {{{source}}} exists as a built in
shell command.
{{{
kir...@t2:64 ~$ source
-bash: source: filename argument required
source: usage: source filename [arguments]
}}}
Now change my shell to /bin/sh
{{{
kir...@t2:64 ~$ sh
$ source
source: not found
$
}}}
I'd prefer to use the more portable {{{.}}} (dot) which will achieve the
same, but is not a bashism. These should certainly be addressed on another
ticket. The fact they are not producing any known errors, makes me wonder
how important it is to source the files in the first place!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9644#comment:32>
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.