#17513: Allow Sage to build and run on old Macs on last time
----------------------------+------------------------
       Reporter:  kcrisman  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  minor     |    Milestone:  sage-6.5
      Component:  build     |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------

Comment (by kcrisman):

 For reference
 {{{#!diff
 diff --git a/src/bin/sage b/src/bin/sage
 index ca07760..a5d2dae 100755
 --- a/src/bin/sage
 +++ b/src/bin/sage
 @@ -641,7 +641,7 @@ build_sage() {
      sage-build "$@" || exit $?
  }

 -if [[ "$1" =~ "--notebook="* || "$1" =~ "-n="* || "$1" =~ "-notebook="*
 ]]; then
 +if [ "${1:0:11}" = "--notebook=" ] || [ "${1:0:10}" = "-notebook=" ] || [
 "${1:0:3}" = "-n=" ]; then
      sage-cleaner &>/dev/null &
      exec sage-notebook "$@"
  fi
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17513#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to