Commit 6270a40b authored by Nicolas Wavrant's avatar Nicolas Wavrant

recipe/wrapper: handle "=" in environment variables' content

parent 6a72f673
...@@ -53,7 +53,7 @@ class Recipe(GenericBaseRecipe): ...@@ -53,7 +53,7 @@ class Recipe(GenericBaseRecipe):
for line in (self.options.get('environment') or '').splitlines(): for line in (self.options.get('environment') or '').splitlines():
line = line.strip() line = line.strip()
if line: if line:
k, v = line.split('=') k, v = line.split('=', 1)
environment[k.rstrip()] = v.lstrip() environment[k.rstrip()] = v.lstrip()
kw = {} kw = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment