From bb93af369a622d63cbfd7746f51e014ce4952215 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Mar 2008 03:29:24 +0000 Subject: 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 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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", -- cgit v1.2.3-1-g7c22