diff options
author | 2009-05-06 19:41:54 +0000 | |
---|---|---|
committer | 2009-05-06 19:41:54 +0000 | |
commit | 8dd26fcba2783c313072efea3cdbafe333ebe55b (patch) | |
tree | 85427ea6f6af5fba78897b53125b6daa937a7f11 /src | |
parent | Add patch from kojiro to remove permission check on temporary directory. (Bug... (diff) | |
download | gentoolkit-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
Diffstat (limited to 'src')
-rw-r--r-- | src/eclean/eclean | 2 |
1 files changed, 2 insertions, 0 deletions
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: |