commit: 42c727f1a2634fc619fc14207ef863441174466c Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Wed Oct 5 14:51:47 2022 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Wed Oct 5 14:51:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c727f1
dev-util/idea-community: Move dir renaming to src_unpack Closes: https://bugs.gentoo.org/872275 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> dev-util/idea-community/idea-community-2022.2.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-util/idea-community/idea-community-2022.2.2.ebuild b/dev-util/idea-community/idea-community-2022.2.2.ebuild index 7003ee45888c..b3686f263ea6 100644 --- a/dev-util/idea-community/idea-community-2022.2.2.ebuild +++ b/dev-util/idea-community/idea-community-2022.2.2.ebuild @@ -39,7 +39,9 @@ PATCHES=( "${FILESDIR}/${PN}-jdk.patch" ) -post_src_unpack() { +src_unpack() { + + default_src_unpack if [ ! -d "$S" ]; then einfo "Renaming source directory to predictable name..." mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die
