JFFI_BOOT variable might get a "strange" value ----------------------------------------------
Key: JRUBY-4489 URL: http://jira.codehaus.org/browse/JRUBY-4489 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.4 Environment: Gentoo Linux Reporter: Diego Elio Pettenò Assignee: Thomas E Enebo JFFI_BOOT="" for d in $JRUBY_HOME/lib/native/*`uname -s`; do if [ -z "$JFFI_BOOT" ]; then JFFI_BOOT="$d" else JFFI_BOOT="$JFFI_BOOT:$d" fi done JFFI_OPTS="-Djffi.boot.library.path=$JFFI_BOOT" This code is taken from the jruby launcher script; it's a problem because, if there is *not* a directory in that glob expansion, it'll set something like "/usr/share/jruby/lib/native/*Linux" (yes, with a star in it). You should probably fiddle with the sh glob expansion options to avoid that, or at least [ -d ] it to make sure it's a directory. (For Gentoo I'm solving it in a different way by re-writing the JFFI load path as we unbundle it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email