aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-06 19:41:54 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-06 19:41:54 +0000
commit8dd26fcba2783c313072efea3cdbafe333ebe55b (patch)
tree85427ea6f6af5fba78897b53125b6daa937a7f11
parentAdd patch from kojiro to remove permission check on temporary directory. (Bug... (diff)
downloadgentoolkit-8dd26fcba2783c313072efea3cdbafe333ebe55b.tar.gz
gentoolkit-8dd26fcba2783c313072efea3cdbafe333ebe55b.tar.bz2
gentoolkit-8dd26fcba2783c313072efea3cdbafe333ebe55b.zip
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
-rw-r--r--ChangeLog4
-rw-r--r--src/eclean/eclean2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6597880..d939585 100644
--- 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)
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: