From 1f6805e67fcb477b9757dc4fef891f10efcba341 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Wed, 6 May 2009 19:41:54 +0000 Subject: Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles.exclude. (Bug 241600) svn path=/trunk/gentoolkit/; revision=610 --- bin/eclean | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/eclean b/bin/eclean index 5497cf3..a004388 100644 --- a/bin/eclean +++ b/bin/eclean @@ -802,6 +802,8 @@ def main(): # parse the exclusion file if not 'exclude-file' in myoptions: my_exclude_file = "/etc/%s/%s.exclude" % (__productname__ , myaction) + if 'EPREFIX' in os.environ: + my_exclude_file = os.environ['EPREFIX'] + my_exclude_file if os.path.isfile(my_exclude_file): myoptions['exclude-file'] = my_exclude_file if 'exclude-file' in myoptions: -- cgit v1.2.3