From 9779b0eeae045051e4aab486b7eaf680fbe18081 Mon Sep 17 00:00:00 2001 From: Mike Pagano Date: Wed, 13 May 2020 13:50:37 -0400 Subject: [PATCH] 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 --- .../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 1dc6179a1a3a..d75f70853f1a 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 } -- 2.26.2