diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-02 12:46:04 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-02 12:46:04 +0400 |
commit | 7ba46c70ad377bad7c623acadbf006a9ddbe682b (patch) | |
tree | 8912cfeec192db51ae491ee4779f898c1e34637b /tools | |
parent | f66ae0dacac7fa1b65253725f48414a7378b559f (diff) |
* return the right error code
* print error message when something goes wrong with nsis installer creation
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/btools.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/btools.py b/tools/btools.py index f094cfbd550..58b667b486f 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -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 |