Skip to content

Commit

Permalink
Fix cond comp environment setup
Browse files Browse the repository at this point in the history
source command may not be available in sh.
  • Loading branch information
Somsikov, Andrey committed Feb 11, 2021
1 parent 4e3d7d2 commit 173d219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/proc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_env_from(script):
if sys.platform == "win32":
cmd = f'"{script}" && set'
else:
cmd = f'source "{script}" && env'
cmd = f'"{script}" && env'
dump = subprocess.check_output(cmd, shell=True, universal_newlines=True).strip()
for line in dump.split("\n"):
# split by first '='
Expand Down

0 comments on commit 173d219

Please sign in to comment.