diff options
Diffstat (limited to 'lang/jruby/files/patch-jruby')
-rw-r--r-- | lang/jruby/files/patch-jruby | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/jruby/files/patch-jruby b/lang/jruby/files/patch-jruby new file mode 100644 index 000000000000..566f3425310d --- /dev/null +++ b/lang/jruby/files/patch-jruby @@ -0,0 +1,18 @@ +--- bin/jruby.orig Fri Apr 6 13:57:54 2007 ++++ bin/jruby Fri Apr 6 14:00:13 2007 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # ----------------------------------------------------------------------------- + # jruby.sh - Start Script for the JRuby interpreter + # +@@ -26,6 +26,9 @@ + esac + + # ----- Verify and Set Required Environment Variables ------------------------- ++JAVA_HOME=%%JAVA_HOME%% ++JRUBY_HOME=%%JRUBY_HOME%% ++ + + if [ -z "$JRUBY_HOME" ] ; then + ## resolve links - $0 may be a link to home |