aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-01-30 21:52:50 +0100
committerFabian Groffen <grobian@gentoo.org>2011-01-30 21:52:50 +0100
commit8e1c57067c4556ee2c730f0722d344c52cf4888c (patch)
tree38abff2a89ab194ab96fd068751b000f19198878 /bin
parentFix a typo. (diff)
downloadportage-8e1c57067c4556ee2c730f0722d344c52cf4888c.tar.gz
portage-8e1c57067c4556ee2c730f0722d344c52cf4888c.tar.bz2
portage-8e1c57067c4556ee2c730f0722d344c52cf4888c.zip
repoman: add check for using offset vars with helpers
New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 60c69fb59..700b247a1 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -340,6 +340,7 @@ qahelp={
"ebuild.nesteddie":"Placing 'die' inside ( ) prints an error, but doesn't stop the ebuild.",
"variable.invalidchar":"A variable contains an invalid character that is not part of the ASCII character set",
"variable.readonly":"Assigning a readonly variable",
+ "variable.usedwithhelpers":"Ebuild uses D, ROOT, ED, EROOT or EPREFIX with helpers",
"LIVEVCS.stable":"This ebuild is a live checkout from a VCS but has stable keywords.",
"LIVEVCS.unmasked":"This ebuild is a live checkout from a VCS but has keywords and is not masked in the global package.mask.",
"IUSE.invalid":"This ebuild has a variable in IUSE that is not in the use.desc or its metadata.xml file",