mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 20:17:07 +00:00
Fixes #1512. Patch to improve rhino-narwhal platform support.
This rhino-narwhal patch can be applied to add JAVA_OPTS support when running Cappuccino utilities through rhino. This generally improves configurability for special cases, and specifically enables a work around for the "failed to map segment from shared object" error on some platforms.
This commit is contained in:
1 parent
74820a5040
commit
c5afd3d39f
1 file changed
+12
+12
@@ -0,0 +1,12 @@
|
||||
diff -rupN a/engines/rhino/bin/narwhal-rhino b/engines/rhino/bin/narwhal-rhino
|
||||
--- a/engines/rhino/bin/narwhal-rhino 2011-11-16 11:01:40.000000000 +0000
|
||||
+++ b/engines/rhino/bin/narwhal-rhino 2012-04-23 18:35:45.000000000 +0100
|
||||
@@ -22,7 +22,7 @@ fi
|
||||
CLASSPATH=$NARWHAL_ENGINE_HOME/jars/jna.jar
|
||||
BOOTCLASSPATH=$NARWHAL_ENGINE_HOME/jars/js.jar
|
||||
|
||||
-JAVA_OPTS="-Dnarwhal.http_proxy=$http_proxy"
|
||||
+JAVA_OPTS="-Dnarwhal.http_proxy=$http_proxy $JAVA_OPTS"
|
||||
|
||||
if [ -n "$NARWHAL_CLASSPATH" ]; then
|
||||
CLASSPATH=$NARWHAL_CLASSPATH:$CLASSPATH
|
||||
Reference in new issue
Block a user