summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-01-18 21:14:38 +0100
committerFabian Groffen <grobian@gentoo.org>2021-01-18 21:14:38 +0100
commit4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec (patch)
tree74ba68e47d29a263402404ad8bde2e92cbc411d0 /dev-java/gradle-bin
parentprofiles/features/prefix/use.mask: mask USE=pam (diff)
downloadgentoo-4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec.tar.gz
gentoo-4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec.tar.bz2
gentoo-4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec.zip
dev-java/gradle-bin: fix for Prefix, don't use EPREFIX with helpers
Closes: https://bugs.gentoo.org/706172 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-java/gradle-bin')
-rw-r--r--dev-java/gradle-bin/gradle-bin-6.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/gradle-bin/gradle-bin-6.3.ebuild b/dev-java/gradle-bin/gradle-bin-6.3.ebuild
index 93eb5b8f352f..1623bb9c3f34 100644
--- a/dev-java/gradle-bin/gradle-bin-6.3.ebuild
+++ b/dev-java/gradle-bin/gradle-bin-6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,14 +26,14 @@ RDEPEND=">=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}"
src_install() {
- local gradle_dir="${EPREFIX}/usr/share/${PN}-${SLOT}"
+ local gradle_dir="/usr/share/${PN}-${SLOT}"
insinto "${gradle_dir}"
doins -r lib/
exeinto "${gradle_dir}"/bin
doexe bin/${MY_PN}
- dosym "../${gradle_dir##*/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
+ dosym "../${gradle_dir#/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
docinto html
dodoc -r docs/release-notes.html