From 8dd26fcba2783c313072efea3cdbafe333ebe55b Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Wed, 6 May 2009 19:41:54 +0000 Subject: [PATCH] Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles.exclude. (Bug 241600) svn path=/branches/gentoolkit-0.2.4/; revision=610 --- ChangeLog | 4 ++++ src/eclean/eclean | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6597880..d939585 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-06: Paul Varner + * eclean: Add patch from MATSUI Tetsushi to have eclean take EPREFIX + into account for distfiles.exclude. (Bug 241600) + 2009-04-30: Paul Varner * revdep-rebuild: Add patch from loki_val to check -l dependencies in .la files (Bug #267898) diff --git a/src/eclean/eclean b/src/eclean/eclean index 55cc2a7..423fc88 100644 --- a/src/eclean/eclean +++ b/src/eclean/eclean @@ -806,6 +806,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: -- 2.26.2