so the user doesn't have to fix quoting before this check will
recognize the violation.
svn path=/main/trunk/; revision=8353
"""Check for redundant cd ${S} statements"""
repoman_check_name = 'ebuild.minorsyn'
method_re = re.compile(r'^\s*src_(compile|install|test)\s*\(\)')
- cds_re = re.compile(r'^\s*cd\s+"\$(\{S\}|S)"\s')
+ cds_re = re.compile(r'^\s*cd\s+("\$(\{S\}|S)"|\$(\{S\}|S))\s')
def __init__(self, contents):
ContentCheck.__init__(self, contents)