aboutsummaryrefslogtreecommitdiff
path: root/delivery_merge/utils.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-05-16 15:08:28 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-05-16 15:08:28 -0400
commitbed4ca37788e91e09250401c4d65f36067487c1e (patch)
treee92e7defa65d2496defcc8ae22dc469ee5d99378 /delivery_merge/utils.py
parent23d48d07eabce55d92c811f2809ef3a48a6bb5dd (diff)
downloaddelivery_merge-bed4ca37788e91e09250401c4d65f36067487c1e.tar.gz
Fix loss of environment between execution
Diffstat (limited to 'delivery_merge/utils.py')
-rw-r--r--delivery_merge/utils.py3
1 files changed, 1 insertions, 2 deletions
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)
-