aboutsummaryrefslogtreecommitdiff
path: root/academic/scilab/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'academic/scilab/profile.d')
-rw-r--r--academic/scilab/profile.d/scilab.csh6
-rw-r--r--academic/scilab/profile.d/scilab.sh8
2 files changed, 14 insertions, 0 deletions
diff --git a/academic/scilab/profile.d/scilab.csh b/academic/scilab/profile.d/scilab.csh
new file mode 100644
index 000000000000..a1819556e00e
--- /dev/null
+++ b/academic/scilab/profile.d/scilab.csh
@@ -0,0 +1,6 @@
+#!/bin/csh
+
+setenv PATH ${PATH}:/opt/scilab/bin
+
+setenv PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/opt/scilab/lib/pkgconfig
+
diff --git a/academic/scilab/profile.d/scilab.sh b/academic/scilab/profile.d/scilab.sh
new file mode 100644
index 000000000000..387c42c9c900
--- /dev/null
+++ b/academic/scilab/profile.d/scilab.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PATH=${PATH}:/opt/scilab/bin
+export PATH
+
+PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/scilab/lib/pkgconfig
+export PKG_CONFIG_PATH
+