This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch aevri/win32_minimal_seemstowork_20190829
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit bdf3badccd4fa65edb4910852d917c5f7eb55f94
Author: Angelos Evripiotis <[email protected]>
AuthorDate: Wed Apr 17 16:34:39 2019 +0100

    WIP: win32: sandboxnone: pass-through env for now
    
    Rely on the user running "Developer Command Prompt for VS2017", so that
    we get the correct environment variables for building.
---
 src/buildstream/sandbox/_sandboxnone.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/buildstream/sandbox/_sandboxnone.py 
b/src/buildstream/sandbox/_sandboxnone.py
index e95a7b9..f8a2bda 100644
--- a/src/buildstream/sandbox/_sandboxnone.py
+++ b/src/buildstream/sandbox/_sandboxnone.py
@@ -59,7 +59,8 @@ class SandboxNone(Sandbox):
 
         path = pathlib.Path(self.get_directory()) / cwd
         print('run', command, 'in', path)
-        result = subprocess.run(command, cwd=path, env=env)
+        #result = subprocess.run(command, cwd=path, env=env)
+        result = subprocess.run(command, cwd=path)
 
         # out = pathlib.Path(self.get_directory()) / 'buildstream-install'
         # out.mkdir(exist_ok=True)

Reply via email to