aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eclean/eclean2
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: