summaryrefslogtreecommitdiff
path: root/ick2/actionenvs.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/actionenvs.py')
-rw-r--r--ick2/actionenvs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ick2/actionenvs.py b/ick2/actionenvs.py
index 099b13f..e09366b 100644
--- a/ick2/actionenvs.py
+++ b/ick2/actionenvs.py
@@ -103,6 +103,10 @@ class ActionEnvironment: # pragma: no cover
self._systree = systree
self._workspace = workspace
self._reporter = reporter
+ self._extra_env = {}
+
+ def set_extra_env(self, extra_env):
+ self._extra_env = dict(extra_env)
def get_systree_directory(self):
return self._systree
@@ -132,6 +136,7 @@ class ActionEnvironment: # pragma: no cover
'LC_ALL': 'C',
'DEBIAN_FRONTEND': 'noninteractive',
})
+ env.update(self._extra_env)
return env