commit:     9779b0eeae045051e4aab486b7eaf680fbe18081
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 17:50:37 2020 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed May 13 17:50:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9779b0ee

dev-util/idea-community: Fix unpack error for !jbr11

Closes: https://bugs.gentoo.org/721404
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 .../idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild  | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 
a/dev-util/idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild 
b/dev-util/idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild
index 1dc6179a1a3..d75f70853f1 100644
--- a/dev-util/idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild
+++ b/dev-util/idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild
@@ -61,12 +61,8 @@ QA_PREBUILT="opt/${PN}-${MY_PV}/*"
 
 # jbr11 binary doesn't unpack nicely into a single folder
 src_unpack() {
-       if use !jbr11 ; then
-               default_src_unpack
-       else
-               cd "${WORKDIR}"
-               unpack ${MY_PN}IC-${PV_STRING}.tar.gz
-               cd "${S}"
+       default_src_unpack
+       if use jbr11 ; then
                mkdir jre64 && cd jre64 && unpack 
jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz
        fi
 }

Reply via email to