repoman checks: include BUILD_DIR in quoting checks.
authorMichał Górny <mgorny@gentoo.org>
Thu, 14 Mar 2013 17:12:34 +0000 (18:12 +0100)
committerZac Medico <zmedico@gentoo.org>
Thu, 14 Mar 2013 17:18:11 +0000 (10:18 -0700)
pym/repoman/checks.py

index 3b2b124ba61e5e58d819baf0d33c3a39104394c4..b29b8d361ba78161855e4a3d6853a727f649de35 100644 (file)
@@ -164,6 +164,9 @@ class EbuildQuote(LineCheck):
                "GAMES_DATADIR_BASE", "GAMES_SYSCONFDIR", "GAMES_STATEDIR",
                "GAMES_LOGDIR", "GAMES_BINDIR"]
 
+       # variables for multibuild.eclass
+       var_name += ["BUILD_DIR"]
+
        var_names = "(%s)" % "|".join(var_names)
        var_reference = re.compile(r'\$(\{'+var_names+'\}|' + \
                var_names + '\W)')