diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-12-20 19:36:50 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-12-20 19:36:50 +0000 |
commit | 44f33a6c087f8d8c3506d9564db683e425ecb848 (patch) | |
tree | 746e4ab82067835c932dbbc583bf046605e54de7 | |
parent | 8e1df0868130660e2254e7c2abfe386979ffbea0 (diff) | |
download | portage-44f33a6c087f8d8c3506d9564db683e425ecb848.tar.gz portage-44f33a6c087f8d8c3506d9564db683e425ecb848.tar.bz2 portage-44f33a6c087f8d8c3506d9564db683e425ecb848.zip |
Bug #251591 - Adjust the InheritAutotools pattern to treat more things similar to
whitespace. Now it recognizes escaped newlines, || operators, and && operators.
svn path=/main/trunk/; revision=12260
-rw-r--r-- | pym/repoman/checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index c90b54f7b..6778c8c58 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -242,8 +242,8 @@ class InheritAutotools(LineCheck): _autotools_funcs = ( "eaclocal", "eautoconf", "eautoheader", "eautomake", "eautoreconf", "_elibtoolize") - _autotools_func_re = re.compile(r'(^|\s)(' + \ - "|".join(_autotools_funcs) + ')(\s|$)') + _autotools_func_re = re.compile(r'(^|\s|\|\||&&)(' + \ + "|".join(_autotools_funcs) + r')(\s|\|\||&&|\\?$)') # Exempt eclasses: # git - An EGIT_BOOTSTRAP variable may be used to call one of # the autotools functions. |