diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2009-05-06 19:41:54 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2009-05-06 19:41:54 +0000 |
| commit | 1f6805e67fcb477b9757dc4fef891f10efcba341 (patch) | |
| tree | 6519b0bd44df0fdc357209e182451ca14fb6f52b /bin/eclean | |
| parent | a7047c5a48c19f1140a0bb01391f8eb75dedbcac (diff) | |
| download | gentoolkit-1f6805e67fcb477b9757dc4fef891f10efcba341.tar.gz | |
Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles.exclude. (Bug 241600)
svn path=/trunk/gentoolkit/; revision=610
Diffstat (limited to 'bin/eclean')
| -rw-r--r-- | bin/eclean | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |
