summaryrefslogtreecommitdiff
path: root/academic/sage-bin/profile.d/sage.sh
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2018-09-15 17:50:08 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-15 17:50:08 +0100
commit2c92859540456b07fe5fc9a6868585cb161bfad0 (patch)
tree758cf1e8fee2caee3961b1cfa41af55c0871540c /academic/sage-bin/profile.d/sage.sh
parent597bb61f960ea2fd31b68e71d1a7ef36cd375164 (diff)
downloadslackbuilds-2c92859540456b07fe5fc9a6868585cb161bfad0.tar.gz
academic/sage-bin: Added (python based mathematics software).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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"