commit:     50ca4579669dac5459ee428970e9f358ae41c498
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 05:50:13 2019 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 05:50:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ca4579

dev-java/boot-bin: Add missing shebang re bug #682984

Add a shebang to the boot bootup script so it works for users who have a
native shell other than bash.

-r1 bump necessary as if you already had it installed, it was possibly
broken.

Closes: https://bugs.gentoo.org/682984
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-java/boot-bin/{boot-bin-2.7.1.ebuild => boot-bin-2.7.1-r1.ebuild} | 2 +-
 dev-java/boot-bin/files/boot                                          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-java/boot-bin/boot-bin-2.7.1.ebuild 
b/dev-java/boot-bin/boot-bin-2.7.1-r1.ebuild
similarity index 97%
rename from dev-java/boot-bin/boot-bin-2.7.1.ebuild
rename to dev-java/boot-bin/boot-bin-2.7.1-r1.ebuild
index 8e700cc2e66..53777ba1edb 100644
--- a/dev-java/boot-bin/boot-bin-2.7.1.ebuild
+++ b/dev-java/boot-bin/boot-bin-2.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"

diff --git a/dev-java/boot-bin/files/boot b/dev-java/boot-bin/files/boot
index acd8e404c28..8d53ebd338a 100644
--- a/dev-java/boot-bin/files/boot
+++ b/dev-java/boot-bin/files/boot
@@ -1,3 +1,4 @@
+#!/bin/bash
 source @@JAVA_PKG_SHAREPATH@@/package.env
 jarpath="@@JAVA_PKG_JARDEST@@/@@PN@@.jar"
 declare -a "options=($BOOT_JVM_OPTIONS)"

Reply via email to