projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d165b71
)
Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. (trunk r9290)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Feb 2008 04:42:48 +0000
(
04:42
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Feb 2008 04:42:48 +0000
(
04:42
-0000)
svn path=/main/branches/2.1.2/; revision=9291
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 7b95304d0296ec0d059fd1bfc2031e5586cb5e6d..801390e7714d13384a01d310fb7168bb8246a9c9 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-929,7
+929,7
@@
class EbuildQuote(LineCheck):
repoman_check_name = 'ebuild.minorsyn'
ignore_line = re.compile(r'(^$)|(^\s*#.*)|(^\s*\w+=.*)|(^\s*(local|export)\s+)')
- var_names = r'(D|
S|T|ROOT|FILESDIR
|WORKDIR)'
+ var_names = r'(D|
DISTDIR|FILESDIR|S|T|ROOT
|WORKDIR)'
var_reference = re.compile(r'\$(\{'+var_names+'\}|' + \
var_names + '\W)')
missing_quotes = re.compile(r'(\s|^)[^"\'\s]*\$\{?' + var_names + \