summaryrefslogtreecommitdiffstats
path: root/academic/sage-bin/profile.d/sage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'academic/sage-bin/profile.d/sage.sh')
-rw-r--r--academic/sage-bin/profile.d/sage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/academic/sage-bin/profile.d/sage.sh b/academic/sage-bin/profile.d/sage.sh
new file mode 100644
index 0000000000..4ba39f4919
--- /dev/null
+++ b/academic/sage-bin/profile.d/sage.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Add SAGE_ROOT PATH and MANPATH for Sage:
+export SAGE_ROOT=/opt/SageMath
+PATH="$PATH:${SAGE_ROOT}/local/bin"
+MANPATH="$MANPATH:${SAGE_ROOT}/local/share/man"