Simplify the InheritAutotools pattern by using \b to match word boundaries.
svn path=/main/trunk/; revision=12264
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index 6778c8c..6f2c076 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -242,8 +242,8 @@
_autotools_funcs = (
"eaclocal", "eautoconf", "eautoheader",
"eautomake", "eautoreconf", "_elibtoolize")
- _autotools_func_re = re.compile(r'(^|\s|\|\||&&)(' + \
- "|".join(_autotools_funcs) + r')(\s|\|\||&&|\\?$)')
+ _autotools_func_re = re.compile(r'\b(' + \
+ "|".join(_autotools_funcs) + r')\b')
# Exempt eclasses:
# git - An EGIT_BOOTSTRAP variable may be used to call one of
# the autotools functions.