commit: b35ca8e187514a78b27fae5c507b167c80d1cdfa Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Sep 3 15:32:55 2017 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Sep 3 15:32:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35ca8e1
games-mods.eclass: [QA] Do not access PORTDIR. Simply inline the 2 (two!) header lines instead. Bug: 416739 eclass/games-mods.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass index 8c7e72beed5..f2e4a25841f 100644 --- a/eclass/games-mods.eclass +++ b/eclass/games-mods.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Variables to specify in an ebuild which uses this eclass: @@ -197,7 +197,8 @@ games-mods_dosyms() { games-mods_make_initd() { cat <<EOF > "${T}"/${MOD_DED_BIN} #!/sbin/openrc-run -$(head -n 2 ${PORTDIR}/header.txt) +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 # Generated by games-mods.eclass depend() {