From: fuzzyray Date: Wed, 6 May 2009 19:41:54 +0000 (-0000) Subject: Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles... X-Git-Tag: gentoolkit-0.2.4.4~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8dd26fcba2783c313072efea3cdbafe333ebe55b;p=gentoolkit.git 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 --- 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: