mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-java/boot-bin: Added at 2.6.0
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
This commit is contained in:
6
dev-java/boot-bin/files/boot
Normal file
6
dev-java/boot-bin/files/boot
Normal file
@@ -0,0 +1,6 @@
|
||||
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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user