Skip to content

Commit 900a8e2

Browse files
authored
Fix input environment not being respected by shell.run()
1 parent 17f1cf9 commit 900a8e2

File tree

1 file changed

+1
-1
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def run(*args, **kwargs):
212212
repo_path = os.getcwd()
213213
echo_output = kwargs.pop('echo', False)
214214
dry_run = kwargs.pop('dry_run', False)
215-
env = kwargs.pop('env', None)
215+
env = kwargs.get('env', None)
216216
if dry_run:
217217
_echo_command(dry_run, *args, env=env)
218218
return(None, 0, args)

0 commit comments

Comments
 (0)