Bug #274742 - Exempt $dir from quoting checks since it's a likely candidate
authorZac Medico <zmedico@gentoo.org>
Sun, 21 Jun 2009 01:51:42 +0000 (01:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 Jun 2009 01:51:42 +0000 (01:51 -0000)
for false positives.

svn path=/main/trunk/; revision=13659

pym/repoman/checks.py

index 7dfbc8124c879b9aff80dd3700635370f182b2a1..4343ab119224703c85262b8fdadfc2a19e40bf00 100644 (file)
@@ -92,7 +92,7 @@ class EbuildQuote(LineCheck):
        var_names = ["D", "DISTDIR", "FILESDIR", "S", "T", "ROOT", "WORKDIR"]
 
        # variables for games.eclass
-       var_names += ["Ddir", "dir", "GAMES_PREFIX_OPT", "GAMES_DATADIR",
+       var_names += ["Ddir", "GAMES_PREFIX_OPT", "GAMES_DATADIR",
                "GAMES_DATADIR_BASE", "GAMES_SYSCONFDIR", "GAMES_STATEDIR",
                "GAMES_LOGDIR", "GAMES_BINDIR"]