From: Mike Pagano Date: Wed, 13 May 2020 17:50:37 +0000 (-0400) Subject: dev-util/idea-community: Fix unpack error for !jbr11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9779b0eeae045051e4aab486b7eaf680fbe18081;p=gentoo.git 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 --- 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 }