#10106: Change "export FC=foo" to "FC=foo ; export FC" and similar in
scipy_sandbox
-----------------------------+----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-4.6
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
#10092 added 4 lines of code:
{{{
export FC="${SAGE_LOCAL}/bin/sage_fortran"
export F77="${SAGE_LOCAL}/bin/sage_fortran"
export F90="${SAGE_LOCAL}/bin/sage_fortran"
export F95="${SAGE_LOCAL}/bin/sage_fortran"
}}}
but using export and the variable name at the same time is not portable.
For improved portability, which will work with any shell,
{{{
FC="${SAGE_LOCAL}/bin/sage_fortran"
export FC
F77="${SAGE_LOCAL}/bin/sage_fortran"
export F77
F90="${SAGE_LOCAL}/bin/sage_fortran"
export F90
F95="${SAGE_LOCAL}/bin/sage_fortran"
export F95
}}}
should work.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10106>
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.