aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-08-01 21:37:33 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-08-01 22:40:22 +0300
commit2cfc92ccab6ddfedd79ec16b8ebdde4eae8d2ad4 (patch)
tree39b8cbe4d17d57d07d683bde0207d135d8fa8602 /testdata/repos
parentstart work on 0.10.26 (diff)
downloadpkgcheck-2cfc92ccab6ddfedd79ec16b8ebdde4eae8d2ad4.tar.gz
pkgcheck-2cfc92ccab6ddfedd79ec16b8ebdde4eae8d2ad4.tar.bz2
pkgcheck-2cfc92ccab6ddfedd79ec16b8ebdde4eae8d2ad4.zip
VariableScopeCheck: also check for wrong usage on global scope
Resolves: https://github.com/pkgcore/pkgcheck/issues/606 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'testdata/repos')
-rw-r--r--testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild b/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild
index 28cc609e..a27c4122 100644
--- a/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild
+++ b/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild
@@ -5,6 +5,8 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck"
SLOT="0"
LICENSE="BSD"
+DOC_CONTENTS="Hello ${ROOT}"
+
src_configure() {
# EROOT isn't allowed in src_* phases
econf --sysconfdir="${EROOT}/etc/${PN}"