| Index: recipe_modules/step/api.py
|
| diff --git a/recipe_modules/step/api.py b/recipe_modules/step/api.py
|
| index 3c8e5689d2f43c33a60ef86a72106514cf8dffea..7f6f2f59bc1b90529d8b558d2d3084577b0c6605 100644
|
| --- a/recipe_modules/step/api.py
|
| +++ b/recipe_modules/step/api.py
|
| @@ -137,6 +137,8 @@ class StepApi(recipe_api.RecipeApiPlain):
|
| # Obtain information from composite step parent.
|
| compositor = recipe_api._STEP_CONTEXT
|
| name = compositor.get_with_context('name', name)
|
| + if 'cwd' not in kwargs:
|
| + kwargs['cwd'] = compositor.get('cwd')
|
| kwargs['env'] = compositor.get_with_context('env', kwargs.get('env', {}))
|
| kwargs['step_nest_level'] = compositor.get_with_context('nest_level', 0)
|
|
|
|
|