From a3af6baaebf532a181fbb596e7c4032b1409050e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Nov 2007 18:19:53 +0000 Subject: [PATCH] Remove an extra \$ from the EbuildQuote.var_reference regex so that it will properly match things like variable references without braces, like $S. svn path=/main/trunk/; revision=8354 --- pym/repoman/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index d6fcc1318..66918cbd8 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -121,7 +121,7 @@ class EbuildQuote(ContentCheck): ignore_line = re.compile(r'(^$)|(^\s*#.*)|(^\s*\w+=.*)|(^\s*(local|export)\s+)') var_names = r'(D|S|T|ROOT|FILESDIR|WORKDIR)' var_reference = re.compile(r'\$({'+var_names+'}|' + \ - r'\$' + var_names + '\W)') + var_names + '\W)') missing_quotes = re.compile(r'(\s|^)[^"\s]*\${?' + var_names + \ r'}?[^"\s]*(\s|$)') cond_begin = re.compile(r'(^|\s+)\[\[($|\\$|\s+)') -- 2.26.2