Commit 13b8d731 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix sagemath backend when there is no sage-env

Since sagemath 8.9 it is possible to run sage without sourcing sage-env ( so don't abort if it is not present.

Differential Revision:
parent b62811ef
......@@ -8,8 +8,6 @@ elif [[ -f $SAGE_ROOT"/local/bin/sage-env" ]]; then
. "$SAGE_ROOT/local/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/src/bin/sage-env" ]]; then
. "$SAGE_ROOT/src/bin/sage-env" >&2
exit 1 # We have a problem
exec sage-ipython -i --simple-prompt
\ No newline at end of file
exec sage-ipython -i --simple-prompt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment