Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149476 Details for
Bug 217388
dev-java/jruby-1.2 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/jruby-1.1_launcher
jruby-1.1_launcher (text/plain), 958 bytes, created by
Jochen Schalanda
on 2008-04-12 12:34:38 UTC
(
hide
)
Description:
files/jruby-1.1_launcher
Filename:
MIME Type:
Creator:
Jochen Schalanda
Created:
2008-04-12 12:34:38 UTC
Size:
958 bytes
patch
obsolete
># Split out any -J argument for passing to the JVM. ># Scanning for args is aborted by '--'. >declare -a java_args >declare -a ruby_args > >while [ $# -gt 0 ] >do > case "$1" in > # Stuff after '-J' in this argument goes to JVM > -J*) > val=${1:2} > java_args=("${java_args[@]}" "${1:2}") > ;; > # Match switches that take an argument > -e|-I|-S) ruby_args=("${ruby_args[@]}" "$1" "$2"); shift ;; > # Match same switches with argument stuck together > -e*|-I*|-S*) ruby_args=("${ruby_args[@]}" "$1" ) ;; > # Abort processing on the double dash > --) break ;; > # Other opts go to ruby > -*) ruby_args=("${ruby_args[@]}" "$1") ;; > # Abort processing on first non-opt arg > *) break ;; > esac > shift >done > ># Append the rest of the arguments >ruby_args=("${ruby_args[@]}" "$@") > ># Put the ruby_args back into the position arguments $1, $2 etc >set -- "${ruby_args[@]}" > >JAVA_OPTS="$JAVA_OPTS ${java_args[@]}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 217388
:
149475
| 149476