summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-09-03 17:32:55 +0200
committerUlrich Müller <ulm@gentoo.org>2017-09-03 17:32:55 +0200
commitb35ca8e187514a78b27fae5c507b167c80d1cdfa (patch)
treed30cf5abe6f15e740489c55d662964320a3d0da0 /eclass/games-mods.eclass
parentkde-frameworks/extra-cmake-modules: Disable broken test (diff)
downloadgentoo-b35ca8e187514a78b27fae5c507b167c80d1cdfa.tar.gz
gentoo-b35ca8e187514a78b27fae5c507b167c80d1cdfa.tar.bz2
gentoo-b35ca8e187514a78b27fae5c507b167c80d1cdfa.zip
games-mods.eclass: [QA] Do not access PORTDIR.
Simply inline the 2 (two!) header lines instead. Bug: 416739
Diffstat (limited to 'eclass/games-mods.eclass')
-rw-r--r--eclass/games-mods.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass
index 8c7e72beed58..f2e4a25841fc 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() {