Loosen EMakeParallelDisabled.re so it can match more variations. (trunk r12719)
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:23:25 +0000 (06:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:23:25 +0000 (06:23 -0000)
svn path=/main/branches/2.1.6/; revision=12974

pym/repoman/checks.py

index 5fc1c1a93528eb1315d7325d5fba6057d4281f3d..a9e29d2bed3fb9ab5a6df2682b2f814e71bef941 100644 (file)
@@ -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):