From fb5321733a62d1801644369b6f30f1a4078a5bd4 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 25 May 2018 22:00:44 +0200 Subject: [PATCH] address review feedback --- parts/plugins/x_builddeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/plugins/x_builddeb.py b/parts/plugins/x_builddeb.py index 638692216b2..971c3211bd8 100644 --- a/parts/plugins/x_builddeb.py +++ b/parts/plugins/x_builddeb.py @@ -34,7 +34,7 @@ def build(self): self.run(["sudo", "apt-get", "build-dep", "-y", "./"]) # XXX: get this from "debian/gbp.conf:postexport" self.run(["./get-deps.sh"]) - env=os.environ + env=os.environ.copy() if os.getuid() == 0: # disable running the tests during the build when run as root # because quite a few of them will break