1 |
On Sat, 7 May 2016 23:25:58 +0200 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> On Sat, 7 May 2016 21:19:31 +0000 (UTC) |
5 |
> "Joerg Bornkessel" <hd_brummy@g.o> wrote: |
6 |
> |
7 |
> > commit: 66afcab271f65b97330e610040ad3acc1b812a03 |
8 |
> > Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
9 |
> > AuthorDate: Sat May 7 21:18:48 2016 +0000 |
10 |
> > Commit: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
11 |
> > CommitDate: Sat May 7 21:18:48 2016 +0000 |
12 |
> > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66afcab2 |
13 |
> > |
14 |
> > fixed einstall vs. emake install for eapi=6 |
15 |
> > |
16 |
> > eclass/vdr-plugin-2.eclass | 6 +++++- |
17 |
> > 1 file changed, 5 insertions(+), 1 deletion(-) |
18 |
> > |
19 |
> > diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass |
20 |
> > index ae09a34..65f1409 100644 |
21 |
> > --- a/eclass/vdr-plugin-2.eclass |
22 |
> > +++ b/eclass/vdr-plugin-2.eclass |
23 |
> > @@ -571,7 +571,11 @@ vdr-plugin-2_src_install() { |
24 |
> > local SOFILE_STRING=$(grep SOFILE Makefile) |
25 |
> > if [[ -n ${SOFILE_STRING} ]]; then |
26 |
> > BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-install }} |
27 |
> > - einstall ${BUILD_PARAMS} \ |
28 |
> > + if [[ ${EAPI} == 6 ]]; then |
29 |
> > + emake install ${BUILD_PARAMS} \ |
30 |
> > + else |
31 |
> > + einstall ${BUILD_PARAMS} \ |
32 |
> > + fi |
33 |
> > ${BUILD_TARGETS} \ |
34 |
> > TMPDIR="${T}" \ |
35 |
> > DESTDIR="${D}" \ |
36 |
> > |
37 |
> |
38 |
> Do you seriously expect this code to work? How about testing? Or |
39 |
> reading diffs before committing? |
40 |
|
41 |
I reverted this commit since it broke sourcing any ebuild inheriting the eclass. |
42 |
|
43 |
I'm going to assume this commit was made by accident, since any dev that would |
44 |
commit code to an eclass without testing that it works, or even that it's |
45 |
_valid bash_, would not continue to have unsupervised commit rights for very |
46 |
long. |
47 |
|
48 |
|
49 |
-- |