Fix DYLD_LIBRARY_PATH for Mac OS X binaries 03/16903/2
Vincent COUVERT [Mon, 27 Jul 2015 14:26:08 +0000 (16:26 +0200)]
Change-Id: Iee5529242a4ce9cd0d5e86a4e199aefc5e10939d

scilab/bin/scilab

index 3275201..1e4d67b 100755 (executable)
@@ -331,7 +331,7 @@ set_embedded_java_vm () {
                 JAVA_HOME=$SCIBINARYBASE/thirdparty/java/Contents/Home/
                 JAVA_JVM_VERSION=$JAVA_HOME
                 export JAVA_JVM_VERSION
-                DYLD_LIBRARY_PATH="$JAVA_HOME/lib:$JAVA_HOME/lib/server:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}"
+                DYLD_LIBRARY_PATH="$JAVA_HOME/lib/server:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}"
                 ;;
             *)
             echo "Could not find the Java configuration for the OS <${OS}>. Please contact us or submit a bug report with your detailed configuration http://bugzilla.scilab.org/"