#6888: sage-env complain about bad SAGE_ROOT environment variable with no reason
-------------------------+--------------------------------------------------
 Reporter:  sbarthelemy  |       Owner:  tbd
     Type:  defect       |      Status:  new
 Priority:  major        |   Milestone:     
Component:  build        |    Keywords:     
 Reviewer:               |      Author:     
   Merged:               |  
-------------------------+--------------------------------------------------
 the $SAGE_ROOT/local/bin/sage-env has 2 small flaws.

 1) the script prints the following message:
 {{{
     You must set the SAGE_ROOT environment variable or
     run this script from the SAGE_ROOT or
     SAGE_ROOT/local/bin/ directory.
 }}}
 even if SAGE_ROOT is set correctly.

 2) if SAGE_ROOT is set to a wrong path, it doesn't stop,

 The attached patch fixes them.

 I am not a shell expert, so please test it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6888>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to