#11021: Fix "sage -info" and a bug when sourcing sage-env more than once
------------------------------------------------------------------------------+
Reporter: jhpalmieri |
Owner: leif
Type: defect |
Status: needs_work
Priority: major |
Milestone: sage-5.0
Component: packages |
Resolution:
Keywords: SPKG.txt SAGE.txt -info BUILD sage-env sage-sage sage-spkg |
Work issues:
Report Upstream: N/A |
Reviewers: Kelvin Li, Leif Leonhardy, John Palmieri
Authors: Leif Leonhardy, Kelvin Li |
Merged in:
Dependencies: |
Stopgaps:
------------------------------------------------------------------------------+
Changes (by jhpalmieri):
* status: needs_review => needs_work
Comment:
Large parts of this have been subsumed by #12479 and related tickets. I
think there are still worthwhile changes here; should we keep this open,
or close it and open more specific tickets? For example, this change
still looks like a good idea:
{{{
#!diff
diff --git a/spkg/bin/sage-spkg b/spkg/bin/sage-spkg
--- a/spkg/bin/sage-spkg
+++ b/spkg/bin/sage-spkg
@@ -361,7 +361,7 @@ fi
if [ ! -f spkg-install ]; then
echo '#!/usr/bin/env bash' > spkg-install
if [ -x configure ]; then
- echo './configure --prefix="$SAGE_LOCAL" && make && make install'
>> spkg-install
+ echo './configure --prefix=\"\$SAGE_LOCAL\" && make && make
install' >> spkg-install
elif [ -f setup.py ]; then
echo 'python setup.py install' >> spkg-install
else
}}}
So anyway, this ticket needs work.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11021#comment:56>
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.