From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A424138335 for ; Mon, 17 Sep 2018 06:45:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0DABE0A4A; Mon, 17 Sep 2018 06:45:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7582E0A4A for ; Mon, 17 Sep 2018 06:45:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED6B2335CD5 for ; Mon, 17 Sep 2018 06:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16ECF3DD for ; Mon, 17 Sep 2018 06:45:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1537166711.be5877962bfdf949f887a61f03e1754286dd5ffd.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/prepalldocs X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: be5877962bfdf949f887a61f03e1754286dd5ffd X-VCS-Branch: master Date: Mon, 17 Sep 2018 06:45:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d5bd0f01-1828-4425-b850-56876b8bd436 X-Archives-Hash: 62484cd34720b9abd075f623cf1bbc40 commit: be5877962bfdf949f887a61f03e1754286dd5ffd Author: Michał Górny gentoo org> AuthorDate: Thu Mar 22 20:59:59 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 17 06:45:11 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=be587796 Ban prepalldocs in ebuild scope Reviewed-by: Zac Medico gentoo.org> bin/ebuild-helpers/prepalldocs | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs index 6cdceb318..e23a6d410 100755 --- a/bin/ebuild-helpers/prepalldocs +++ b/bin/ebuild-helpers/prepalldocs @@ -4,20 +4,5 @@ source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 -if ___eapi_has_docompress; then - die "'${0##*/}' has been banned for EAPI '$EAPI'" - exit 1 -fi - -if [[ -n $1 ]] ; then - __vecho "${0##*/}: invalid usage; takes no arguments" 1>&2 -fi - -if ! ___eapi_has_prefix_variables; then - ED=${D} -fi - -[[ -d ${ED%/}/usr/share/doc ]] || exit 0 - -ecompressdir --ignore /usr/share/doc/${PF}/html -ecompressdir --queue /usr/share/doc +die "'${0##*/}' is not allowed in ebuild scope" +exit 1