1 |
commit: be5877962bfdf949f887a61f03e1754286dd5ffd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 20:59:59 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 17 06:45:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=be587796 |
7 |
|
8 |
Ban prepalldocs in ebuild scope |
9 |
|
10 |
Reviewed-by: Zac Medico <zmedico <AT> gentoo.org> |
11 |
|
12 |
bin/ebuild-helpers/prepalldocs | 19 ++----------------- |
13 |
1 file changed, 2 insertions(+), 17 deletions(-) |
14 |
|
15 |
diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs |
16 |
index 6cdceb318..e23a6d410 100755 |
17 |
--- a/bin/ebuild-helpers/prepalldocs |
18 |
+++ b/bin/ebuild-helpers/prepalldocs |
19 |
@@ -4,20 +4,5 @@ |
20 |
|
21 |
source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 |
22 |
|
23 |
-if ___eapi_has_docompress; then |
24 |
- die "'${0##*/}' has been banned for EAPI '$EAPI'" |
25 |
- exit 1 |
26 |
-fi |
27 |
- |
28 |
-if [[ -n $1 ]] ; then |
29 |
- __vecho "${0##*/}: invalid usage; takes no arguments" 1>&2 |
30 |
-fi |
31 |
- |
32 |
-if ! ___eapi_has_prefix_variables; then |
33 |
- ED=${D} |
34 |
-fi |
35 |
- |
36 |
-[[ -d ${ED%/}/usr/share/doc ]] || exit 0 |
37 |
- |
38 |
-ecompressdir --ignore /usr/share/doc/${PF}/html |
39 |
-ecompressdir --queue /usr/share/doc |
40 |
+die "'${0##*/}' is not allowed in ebuild scope" |
41 |
+exit 1 |