Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-10-02 12:46:04 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2008-10-02 12:46:04 +0400
commit7ba46c70ad377bad7c623acadbf006a9ddbe682b (patch)
tree8912cfeec192db51ae491ee4779f898c1e34637b /tools/btools.py
parentf66ae0dacac7fa1b65253725f48414a7378b559f (diff)
* return the right error code
* print error message when something goes wrong with nsis installer creation
Diffstat (limited to 'tools/btools.py')
-rwxr-xr-xtools/btools.py5
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