aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/eclean')
-rw-r--r--bin/eclean2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/eclean b/bin/eclean
index 5497cf3..a004388 100644
--- a/bin/eclean
+++ b/bin/eclean
@@ -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: