Commit 7791fcdbe9970a807840ffff9e98d660ee5b974d

SSE4 2019-02-22T04:31:00

- fix vcvars command Signed-off-by: SSE4 <tomskside@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build.py b/build.py
index bad6fde..12a616c 100644
--- a/build.py
+++ b/build.py
@@ -15,7 +15,7 @@ def show_file(filename):
 
 def run(command):
     if "VCVARS" in os.environ:
-        command = 'call "%s" amd64' % os.environ["VCVARS"] + command
+        command = 'call "%s" amd64 && ' % os.environ["VCVARS"] + command
     status = os.system(command)
     if 0 != status:
         show_file(os.path.join("CMakeFiles", "CMakeOutput.log"))