From 7fc87110566e5910ba7b597297f130c853e1dba6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 20 Dec 2008 19:46:33 +0000 Subject: Bug #251591 - Adjust the InheritAutotools pattern to treat more things similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. (trunk r12260) svn path=/main/branches/2.1.6/; revision=12263 --- pym/repoman/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/repoman/checks.py') 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. -- cgit v1.2.3-1-g7c22