Dan Drake wrote:

If spaces are the concern, using quotes whenever you reference the
variable is the fix: "$SAGE_ROOT/whatever". There are lots of places in
Sage scripts where we should be using quotes to make sure paths with
spaces work properly -- see, for example,
http://trac.sagemath.org/sage_trac/ticket/8303 ...which allows one to
call Sage on scripts whose name or path includes spaces, and needs
review!

Dan


Sage will not even try to build if there are spaces in the path. See spkg/base/prereq-0.7-install

echo `pwd` | grep " "

if [ $? -eq 0 ]; then
    echo ""
    echo "*********************************************************"
    echo ""
    echo " ERROR: Sage will (probably) not build correctly if there is a space"
    echo " in the path to the current directory."
    echo ""
    echo " Path = `pwd`"
    echo ""
    echo "*********************************************************"
    exit 1
fi

There's plenty of stuff in Sage that is either not quoted or badly quoted.

Dave

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

Reply via email to