#9606: local/bin/sage-sage assumes 'sh' is bash
---------------------------+------------------------------------------------
Reporter: pjeremy | Owner: pjeremy
Type: defect | Status: needs_info
Priority: minor | Milestone: sage-5.0
Component: FreeBSD | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------+------------------------------------------------
Comment (by jhpalmieri):
The relevant part of the script says
{{{
#!sh
sh)
# We don't really know which shell "sh" is (it could be
# bash, but this is not guaranteed), so we don't set
# SHELL_OPTS.
if [ "$color_prompt" = yes ] ; then
PS1="$(tput rev)(sage-sh)$(tput sgr0) $USER@`hostname
-s`:\${PWD##*/}$ "
else
PS1="(sage-sh) $USER@`hostname -s`:\${PWD}$ "
fi
export PS1
;;
}}}
So it doesn't look like this ticket is relevant any more.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9606#comment:2>
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.