Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles... gentoolkit-0.3.0_rc5
authorfuzzyray <fuzzyray@gentoo.org>
Wed, 6 May 2009 19:41:54 +0000 (19:41 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Wed, 6 May 2009 19:41:54 +0000 (19:41 -0000)
svn path=/trunk/gentoolkit/; revision=610

ChangeLog
bin/eclean

index 1116f961d5be5ad58891820ac69f66c300192f76..5c1c0c5c3f3d3c2505e6230c79f96a176b80b524 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2009-05-09: Paul Varner <fuzzyray@gentoo.org>
+2009-05-06: Paul Varner <fuzzyray@gentoo.org>
+       * eclean: Add patch from MATSUI Tetsushi to have eclean take EPREFIX
+       into account for distfiles.exclude. (Bug 241600)
+
+2009-05-05: Paul Varner <fuzzyray@gentoo.org>
        * equery: Added modular rewrite from djanderson
        * gentoolkit: Added modular rewrite from djanderson
        * All: converted to setup.py build system
index 5497cf39cd3d061ea10c9b18af7fa3c818cb5fcf..a0043883dd1aaa0a34299bc707d4b30ab80b0392 100644 (file)
@@ -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: