* return the right error code
* print error message when something goes wrong with nsis installer creation
This commit is contained in:
parent
f66ae0daca
commit
7ba46c70ad
@ -531,5 +531,8 @@ def NSIS_Installer(target=None, source=None, env=None):
|
||||
data, err = proc.communicate()
|
||||
rv = proc.wait()
|
||||
|
||||
return err
|
||||
if rv != 0:
|
||||
print
|
||||
print data.strip().split("\n")[-1]
|
||||
return rv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user