Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles...
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=/branches/gentoolkit-0.2.4/; revision=610

ChangeLog
src/eclean/eclean

index 65978801a9a3f9d181c806a523c15c990583da25..d9395853c62156c53b631423ef94bfa409bb080f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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-04-30: Paul Varner <fuzzyray@gentoo.org>
        * revdep-rebuild: Add patch from loki_val to check -l dependencies in 
        .la files (Bug #267898)
index 55cc2a74b736ee629090a977684853381648424d..423fc88783b96042146e100b3e42f6a58787824d 100644 (file)
@@ -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: