From: Zac Medico Date: Fri, 8 Feb 2008 04:33:30 +0000 (-0000) Subject: Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. X-Git-Tag: v2.2_pre1~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=08185f5e55bc46f450c952722cb4fc5c2bc50000;p=portage.git Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. svn path=/main/trunk/; revision=9290 --- diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 462199722..ea76f6a01 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -77,7 +77,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 + \