From 022e09dd6ddd8372a9ec2ef2284b7cb174e6e6b2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 8 Aug 2011 23:44:17 -0700 Subject: repoman: check more helper calls for $D, $ED... This adds docinto, docompress, fowners and fperms to the variable.usedwithhelpers check. Notably absent is dosed since that supports mixed input. This will fix bug #377303. --- pym/repoman/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/repoman') diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index e7472df72..bff4b1fbf 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -341,7 +341,7 @@ class NoOffsetWithHelpers(LineCheck): repoman_check_name = 'variable.usedwithhelpers' # Ignore matches in quoted strings like this: # elog "installed into ${ROOT}usr/share/php5/apc/." - re = re.compile(r'^[^#"\']*\b(dodir|dohard|exeinto|insinto|into)\s+"?\$\{?(D|ROOT|ED|EROOT|EPREFIX)\b.*') + re = re.compile(r'^[^#"\']*\b(docinto|docompress|dodir|dohard|exeinto|fowners|fperms|insinto|into)\s+"?\$\{?(D|ROOT|ED|EROOT|EPREFIX)\b.*') error = errors.NO_OFFSET_WITH_HELPERS class ImplicitRuntimeDeps(LineCheck): -- cgit v1.2.3-1-g7c22