From bed4ca37788e91e09250401c4d65f36067487c1e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 16 May 2019 15:08:28 -0400 Subject: Fix loss of environment between execution --- delivery_merge/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'delivery_merge/utils.py') diff --git a/delivery_merge/utils.py b/delivery_merge/utils.py index 705eaf2..e3d43c0 100644 --- a/delivery_merge/utils.py +++ b/delivery_merge/utils.py @@ -32,7 +32,7 @@ def sh(prog, *args): command += tmp print(f'Running: {" ".join(command)}') - return run(command, capture_output=True) + return run(command, capture_output=True, env=os.environ) def git(*args): @@ -70,4 +70,3 @@ def pushd(path): yield finally: os.chdir(last) - -- cgit