Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. (trunk r9290)
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 04:42:48 +0000 (04:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 04:42:48 +0000 (04:42 -0000)
svn path=/main/branches/2.1.2/; revision=9291

bin/repoman

index 7b95304d0296ec0d059fd1bfc2031e5586cb5e6d..801390e7714d13384a01d310fb7168bb8246a9c9 100755 (executable)
@@ -929,7 +929,7 @@ class EbuildQuote(LineCheck):
 
        repoman_check_name = 'ebuild.minorsyn'
        ignore_line = re.compile(r'(^$)|(^\s*#.*)|(^\s*\w+=.*)|(^\s*(local|export)\s+)')
-       var_names = r'(D|S|T|ROOT|FILESDIR|WORKDIR)'
+       var_names = r'(D|DISTDIR|FILESDIR|S|T|ROOT|WORKDIR)'
        var_reference = re.compile(r'\$(\{'+var_names+'\}|' + \
                var_names + '\W)')
        missing_quotes = re.compile(r'(\s|^)[^"\'\s]*\$\{?' + var_names + \