summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-29 03:29:24 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-29 03:29:24 +0000
commitbb93af369a622d63cbfd7746f51e014ce4952215 (patch)
tree5958c2b54f9465aa9a6972895b53d9bd2e377f84 /bin
parent6a88e04ae474646b9aa366da538d552cda5a8f19 (diff)
downloadportage-bb93af369a622d63cbfd7746f51e014ce4952215.tar.gz
portage-bb93af369a622d63cbfd7746f51e014ce4952215.tar.bz2
portage-bb93af369a622d63cbfd7746f51e014ce4952215.zip
Add a new "ebuild.patches" check for the PATCHES variable that's used by
base_src_unpack() from base.eclass. This generates a warning if the variable is not defined as an array, since this is required for white space safety. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9587
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 1ebf71d58..4b6d4b52d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -244,6 +244,7 @@ qahelp={
"changelog.missing":"Missing ChangeLog files",
"ebuild.disjointed":"Ebuilds not added to cvs when the matching digest has been added",
"ebuild.notadded":"Ebuilds that exist but have not been added to cvs",
+ "ebuild.patches":"PATCHES variable should be a bash array to ensure white space safety",
"changelog.notadded":"ChangeLogs that exist but have not been added to cvs",
"filedir.missing":"Package lacks a files directory",
"file.executable":"Ebuilds, digests, metadata.xml, Manifest, and ChangeLog do note need the executable bit",
@@ -326,6 +327,7 @@ qawarnings=[
"RESTRICT.invalid",
"ebuild.minorsyn",
"ebuild.badheader",
+"ebuild.patches",
"file.size",
"java.eclassesnotused",
"metadata.missing",