mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-10-05 20:49:05 -07:00
This is mostly just giving users a better choice than "sudo bash curl..." boot will still have to install its own dependencies when executed via maven glue into ~/.m2/, but this still means they can easily get `boot` accessible globally in "$PATH" without security paranoia, and from then on it "mostly just works" without needing to understand boot-specific install procedures. Ideally this itself will be built from sources one day, but java upstream logic fights this at every stage. Also, "boot -u" still does "something", but it doesn't do anything useful. Package-Manager: portage-2.3.0
7 lines
247 B
Plaintext
7 lines
247 B
Plaintext
source @@JAVA_PKG_SHAREPATH@@/package.env
|
|
jarpath="@@JAVA_PKG_JARDEST@@/@@PN@@.jar"
|
|
declare -a "options=($BOOT_JVM_OPTIONS)"
|
|
self="${BASH_SOURCE[0]}"
|
|
exec ${BOOT_JAVA_COMMAND:-java} "${options[@]}" -Dboot.app.path="$jarpath" -jar "$jarpath" "$@"
|
|
|