Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: devmanual@g.o, prefix@g.o
Subject: [gentoo-dev] [PATCH] install-functions: refer to ${ED} instead of ${D}
Date: Thu, 26 Jul 2018 17:23:20
Message-Id: 20180726172311.1055-1-floppym@gentoo.org
1 Since EAPI 3, the install functions use ${ED} instead of ${D}.
2 ---
3 function-reference/install-functions/text.xml | 9 ++++-----
4 1 file changed, 4 insertions(+), 5 deletions(-)
5
6 diff --git a/function-reference/install-functions/text.xml b/function-reference/install-functions/text.xml
7 index b6bd181..1134164 100644
8 --- a/function-reference/install-functions/text.xml
9 +++ b/function-reference/install-functions/text.xml
10 @@ -5,9 +5,8 @@
11 <body>
12
13 <p>
14 -The following functions, which are all provided by <c>ebuild.sh</c> and the standard
15 -library, handle various install-related tasks. <c>${D}</c> is automatically handled
16 -for all of these functions.
17 +The following functions are provided by the package manager to handle various
18 +install-related tasks. <c>${ED}</c> is prepended automatically to the install location.
19 </p>
20
21 <p>
22 @@ -271,7 +270,7 @@ the first is the source name, the second the name to use when installing.
23 <c>fowners</c>
24 </ti>
25 <ti>
26 - Call <c>chown</c> on the specified files in <c>${D}</c>
27 + Call <c>chown</c> on the specified files in <c>${ED}</c>
28 </ti>
29 </tr>
30 <tr>
31 @@ -279,7 +278,7 @@ the first is the source name, the second the name to use when installing.
32 <c>fperms</c>
33 </ti>
34 <ti>
35 - Call <c>chmod</c> on the specified files in <c>${D}</c>
36 + Call <c>chmod</c> on the specified files in <c>${ED}</c>
37 </ti>
38 </tr>
39 <tr>
40 --
41 2.18.0

Replies