summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-02-27 01:20:49 +0000
committerZac Medico <zmedico@gentoo.org>2009-02-27 01:20:49 +0000
commit385a9e1028c4cb073167c52469d6019ba65fc53c (patch)
tree52e74a7cc289f6e690ac1a34221c9103374f91f8 /pym
parentAdd a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previously (diff)
downloadportage-multirepo-385a9e1028c4cb073167c52469d6019ba65fc53c.tar.gz
portage-multirepo-385a9e1028c4cb073167c52469d6019ba65fc53c.tar.bz2
portage-multirepo-385a9e1028c4cb073167c52469d6019ba65fc53c.zip
Loosen EMakeParallelDisabled.re so it can match more variations.
svn path=/main/trunk/; revision=12719
Diffstat (limited to 'pym')
-rw-r--r--pym/repoman/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index 5fc1c1a9..a9e29d2b 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -319,7 +319,7 @@ class IUseUndefined(LineCheck):
class EMakeParallelDisabled(LineCheck):
"""Check for emake -j1 calls which disable parallelization."""
repoman_check_name = 'upstream.workaround'
- re = re.compile(r'^\s*emake\s+-j\s*1\s')
+ re = re.compile(r'^\s*emake\s+.*-j\s*1\b')
error = errors.EMAKE_PARALLEL_DISABLED
class EMakeParallelDisabledViaMAKEOPTS(LineCheck):