diff options
author | 2008-02-08 04:33:30 +0000 | |
---|---|---|
committer | 2008-02-08 04:33:30 +0000 | |
commit | 08185f5e55bc46f450c952722cb4fc5c2bc50000 (patch) | |
tree | a02e74d07f453a837349ea3b1ec9c5d40348fb3b /pym/repoman | |
parent | Bug #208708 - Fix warnings for system or world packages that are masked. (diff) | |
download | portage-idfetch-08185f5e55bc46f450c952722cb4fc5c2bc50000.tar.gz portage-idfetch-08185f5e55bc46f450c952722cb4fc5c2bc50000.tar.bz2 portage-idfetch-08185f5e55bc46f450c952722cb4fc5c2bc50000.zip |
Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.
svn path=/main/trunk/; revision=9290
Diffstat (limited to 'pym/repoman')
-rw-r--r-- | pym/repoman/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 46219972..ea76f6a0 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 + \ |