summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-16 09:51:29 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-16 09:51:29 +0300
commit74e95af27167f0b06d2ca54b914c2323703f93cd (patch)
tree127931fdb4a4dd3755d33c5f8e58bbccefe40d14
parent88811f9c80039c537b91e1bfdf2c52d165536b05 (diff)
downloadick2-74e95af27167f0b06d2ca54b914c2323703f93cd.tar.gz
Fix: --setenv with two dashes
-rw-r--r--NEWS1
-rw-r--r--ick2/actionenvs.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a46ad5b..bce69d3 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Version 0.39.1+git, not yet released
------------------------------------
+* Fix build problem.
Version 0.39.1, released 2018-04-16
----------------------------------
diff --git a/ick2/actionenvs.py b/ick2/actionenvs.py
index 0415559..8b12c2f 100644
--- a/ick2/actionenvs.py
+++ b/ick2/actionenvs.py
@@ -165,5 +165,5 @@ class ContainerEnvironment(ActionEnvironment):
]
for key in self._extra_env: # pragma: no cover
var = '{}={}'.format(key, self._extra_env[key])
- prefix.extend(['-setenv', var])
+ prefix.extend(['--setenv', var])
return self.host_runcmd(prefix + argv)