summaryrefslogtreecommitdiff
path: root/ick2/actionenvs.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/actionenvs.py')
-rw-r--r--ick2/actionenvs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ick2/actionenvs.py b/ick2/actionenvs.py
index 3ac762f..0415559 100644
--- a/ick2/actionenvs.py
+++ b/ick2/actionenvs.py
@@ -164,5 +164,6 @@ class ContainerEnvironment(ActionEnvironment):
'--chdir', '/workspace',
]
for key in self._extra_env: # pragma: no cover
- prefix.extend(['-setenv', '{}={}'.format(key, self._extra_env[key])])
+ var = '{}={}'.format(key, self._extra_env[key])
+ prefix.extend(['-setenv', var])
return self.host_runcmd(prefix + argv)