public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r9569 - main/branches/2.1.2/bin
@ 2008-03-28 12:41 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-03-28 12:41 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-03-28 12:41:23 +0000 (Fri, 28 Mar 2008)
New Revision: 9569

Modified:
   main/branches/2.1.2/bin/repoman
Log:
Bug #212621 - Make the EbuildQuote check do quoting validation for misc
variables from games.eclass. (trunk r9507)


Modified: main/branches/2.1.2/bin/repoman
===================================================================
--- main/branches/2.1.2/bin/repoman	2008-03-28 12:39:35 UTC (rev 9568)
+++ main/branches/2.1.2/bin/repoman	2008-03-28 12:41:23 UTC (rev 9569)
@@ -939,7 +939,14 @@
 
 	repoman_check_name = 'ebuild.minorsyn'
 	ignore_line = re.compile(r'(^$)|(^\s*#.*)|(^\s*\w+=.*)|(^\s*(local|export)\s+)')
-	var_names = r'(D|DISTDIR|FILESDIR|S|T|ROOT|WORKDIR)'
+	var_names = ["D", "DISTDIR", "FILESDIR", "S", "T", "ROOT", "WORKDIR"]
+
+	# variables for games.eclass
+	var_names += ["Ddir", "dir", "GAMES_PREFIX_OPT", "GAMES_DATADIR",
+		"GAMES_DATADIR_BASE", "GAMES_SYSCONFDIR", "GAMES_STATEDIR",
+		"GAMES_LOGDIR", "GAMES_BINDIR"]
+
+	var_names = "(%s)" % "|".join(var_names)
 	var_reference = re.compile(r'\$(\{'+var_names+'\}|' + \
 		var_names + '\W)')
 	missing_quotes = re.compile(r'(\s|^)[^"\'\s]*\$\{?' + var_names + \

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-28 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-28 12:41 [gentoo-commits] portage r9569 - main/branches/2.1.2/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox