openbsd-ports/lang/jruby/patches/patch-bin_jruby_bash
jeremy 30ff524123 Update to 1.6.3. Make bin/jruby a compiled file instead of a bash
script, so it can now be used in shebang lines.  Remove the
building of nailgun, since nailgun support is now part of the
jruby binary.

This requires patching the included jruby-launcher gem to make a
similar change we used to make to the jruby.bash script, to set the
JAVA_HOME environment so things work correctly.

Also, create the SITEARCHDIR directory by default.

OK jcs@
2011-07-19 17:57:47 +00:00

10 lines
357 B
Plaintext

$OpenBSD: patch-bin_jruby_bash,v 1.2 2011/07/19 17:57:47 jeremy Exp $
--- bin/jruby.bash.orig Thu Jul 7 11:19:33 2011
+++ bin/jruby.bash Mon Jul 11 21:32:16 2011
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${TRUEPREFIX}/bin/bash
# -----------------------------------------------------------------------------
# jruby.bash - Start Script for the JRuby interpreter
#