From 08185f5e55bc46f450c952722cb4fc5c2bc50000 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Feb 2008 04:33:30 +0000 Subject: Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. svn path=/main/trunk/; revision=9290 --- pym/repoman/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/repoman') 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 + \ -- cgit v1.2.3-1-g7c22