Adding a script to set the environment variables for groovyc.
authorrtrimana <rtrimana@uci.edu>
Thu, 21 May 2020 18:12:50 +0000 (11:12 -0700)
committerrtrimana <rtrimana@uci.edu>
Thu, 21 May 2020 18:12:50 +0000 (11:12 -0700)
lib/setenv.sh [new file with mode: 0755]

diff --git a/lib/setenv.sh b/lib/setenv.sh
new file mode 100755 (executable)
index 0000000..29c2bdd
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export GROOVY_HOME=$1/groovy-2.5.8/
+export PATH=$GROOVY_HOME/bin:$PATH