#11991: record time, version in sage-starts
------------------------------+---------------------------------------------
   Reporter:  jhpalmieri      |          Owner:  leif           
       Type:  enhancement     |         Status:  positive_review
   Priority:  minor           |      Milestone:  sage-4.8       
  Component:  scripts         |       Keywords:                 
Work_issues:                  |       Upstream:  N/A            
   Reviewer:  Leif Leonhardy  |         Author:  John Palmieri  
     Merged:                  |   Dependencies:  #11926         
------------------------------+---------------------------------------------

Comment(by jhpalmieri):

 We could add something like this:
 {{{
 #!diff
 diff --git a/sage-starts b/sage-starts
 --- a/sage-starts
 +++ b/sage-starts
 @@ -7,6 +7,13 @@ if [ -n "$SAGE_ROOT" ]; then
      cd "$SAGE_ROOT"
  fi

 +if [[ ! -x spkg/pipestatus ]]; then
 +    echo >&2 "Error: The file spkg/pipestatus was not found or is not"
 +    echo >&2 "executable, perhaps because the 'sage-starts' script was"
 +    echo >&2 "not run from the \$SAGE_ROOT directory.  Exiting."
 +    exit 1
 +fi
 +
  echo
  echo "Testing that Sage starts..."
  version=spkg/standard/VERSION.txt
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11991#comment:12>
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.

Reply via email to