summaryrefslogtreecommitdiff
path: root/development/scala/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'development/scala/profile.d')
-rw-r--r--development/scala/profile.d/scala.csh4
-rw-r--r--development/scala/profile.d/scala.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/development/scala/profile.d/scala.csh b/development/scala/profile.d/scala.csh
new file mode 100644
index 0000000000..ac90ddc545
--- /dev/null
+++ b/development/scala/profile.d/scala.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv SCALA_HOME @LIBDIR@/scala
+setenv MANPATH ${MANPATH}:${SCALA_HOME}/man
+setenv PATH ${PATH}:${SCALA_HOME}/bin
diff --git a/development/scala/profile.d/scala.sh b/development/scala/profile.d/scala.sh
new file mode 100644
index 0000000000..a53787d419
--- /dev/null
+++ b/development/scala/profile.d/scala.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export SCALA_HOME=@LIBDIR@/scala
+export MANPATH="${MANPATH}:${SCALA_HOME}/man"
+export PATH="${PATH}:${SCALA_HOME}/bin"