* [gentoo-portage-dev] [PATCH] repoman: include HOME in the variable.readonly check
@ 2016-05-04 7:51 Göktürk Yüksek
0 siblings, 0 replies; only message in thread
From: Göktürk Yüksek @ 2016-05-04 7:51 UTC (permalink / raw
To: gentoo-portage-dev
According to the PMS section 11.1, HOME is a read-only
variable. Include it in the list of read-only variables for the
variable.readonly check in repoman.
Signed-off-by: Göktürk Yüksek <gokturk@binghamton.edu>
---
pym/repoman/modules/scan/ebuild/checks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pym/repoman/modules/scan/ebuild/checks.py b/pym/repoman/modules/scan/ebuild/checks.py
index 8cdc230..5833d42 100644
--- a/pym/repoman/modules/scan/ebuild/checks.py
+++ b/pym/repoman/modules/scan/ebuild/checks.py
@@ -236,7 +236,7 @@ class EbuildAssignment(LineCheck):
"""Ensure ebuilds don't assign to readonly variables."""
repoman_check_name = 'variable.readonly'
- read_only_vars = 'A|CATEGORY|P|P[VNRF]|PVR|D|WORKDIR|FILESDIR|FEATURES|USE'
+ read_only_vars = 'A|CATEGORY|P|P[VNRF]|PVR|D|WORKDIR|FILESDIR|FEATURES|USE|HOME'
readonly_assignment = re.compile(r'^\s*(export\s+)?(%s)=' % read_only_vars)
def check(self, num, line):
--
2.7.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-04 7:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 7:51 [gentoo-portage-dev] [PATCH] repoman: include HOME in the variable.readonly check Göktürk Yüksek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox