On Nov 9, 11:00 am, "Dr. David Kirkby" <david.kir...@onetel.net>
wrote:
> Now on Solaris systems I am seeing:
>
> drkir...@hawk:~/64/sage-4.6.1.alpha0$ make
> spkg/pipestatus "cd spkg && ./install all 2>&1" "tee -a ../install.log"
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . .
>
> This is a new bug. I'm well aware -q is a POSIX option to grep, but the 
> default
> grep 99% of people have in their path will not support it, so we need to work
> around this, which is very easy.
>
> I'm not sure what the failure is doing, but clearly something is not working 
> as
> it should.

I think the change is in the file SAGE_ROOT/spkg/install.  See

  <http://trac.sagemath.org/sage_trac/ticket/9896>.

The relevant lines are

if [ "$SAGE_UPGRADING" = yes ] \
    || ([ -f "$SAGE_LOCAL/bin/sage-upgrade" ] && \
        ! grep -q SAGE_UPGRADING "$SAGE_LOCAL/bin/sage-upgrade");
then
    # We're doing an upgrade.
    # Let the Makefile (spkg/standard/deps) call sage-spkg with "-f"
    # to force rebuilding dependent packages, too:
    export SAGE_SPKG_OPTS="-f"
fi

--
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to