fixed install script
This commit is contained in:
parent
589eaf9a21
commit
4b22cae400
|
@ -28,7 +28,7 @@ def runSubProc(command, description, errorMsg, output):
|
|||
if os.name == "nt":
|
||||
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT, shell=True)
|
||||
else:
|
||||
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT)
|
||||
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT, shell=True)
|
||||
proc.wait()
|
||||
if proc.returncode != 0:
|
||||
print("Error installing: " + errorMsg)
|
||||
|
@ -86,7 +86,7 @@ if args.buildDocs:
|
|||
"docs.out")
|
||||
|
||||
runSubProc(
|
||||
[makeCommand, "install"],
|
||||
makeCommand + " install",
|
||||
"Installing ",
|
||||
"There was an installation error",
|
||||
"install.out")
|
||||
|
|
Loading…
Reference in New Issue