Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 03 Sep 2017 15:37:54
Message-Id: 1504452775.b35ca8e187514a78b27fae5c507b167c80d1cdfa.ulm@gentoo
1 commit: b35ca8e187514a78b27fae5c507b167c80d1cdfa
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 3 15:32:55 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 3 15:32:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35ca8e1
7
8 games-mods.eclass: [QA] Do not access PORTDIR.
9
10 Simply inline the 2 (two!) header lines instead.
11
12 Bug: 416739
13
14 eclass/games-mods.eclass | 5 +++--
15 1 file changed, 3 insertions(+), 2 deletions(-)
16
17 diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass
18 index 8c7e72beed5..f2e4a25841f 100644
19 --- a/eclass/games-mods.eclass
20 +++ b/eclass/games-mods.eclass
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2011 Gentoo Foundation
23 +# Copyright 1999-2017 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 # Variables to specify in an ebuild which uses this eclass:
27 @@ -197,7 +197,8 @@ games-mods_dosyms() {
28 games-mods_make_initd() {
29 cat <<EOF > "${T}"/${MOD_DED_BIN}
30 #!/sbin/openrc-run
31 -$(head -n 2 ${PORTDIR}/header.txt)
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 # Generated by games-mods.eclass
35
36 depend() {