From: Zac Medico Date: Fri, 8 Feb 2008 04:42:48 +0000 (-0000) Subject: Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. (trunk r9290) X-Git-Tag: v2.1.4.4~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b19b9ddd5a448feee669383383d819f904f65872;p=portage.git Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. (trunk r9290) svn path=/main/branches/2.1.2/; revision=9291 --- diff --git a/bin/repoman b/bin/repoman index 7b95304d0..801390e77 100755 --- a/bin/repoman +++ b/bin/repoman @@ -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 + \