diff options
-rw-r--r-- | build_files/buildbot/slave_compile.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py index 33879ccff17..f9aa45a4023 100644 --- a/build_files/buildbot/slave_compile.py +++ b/build_files/buildbot/slave_compile.py @@ -155,9 +155,9 @@ else: scons_options.append('BF_CONFIG=' + os.path.join(config_dir, config)) - retcode = subprocess.call(['python', 'scons/scons.py'] + scons_options) - if builder.find('win') != -1: + if not os.path.exists(install_dir): + os.makedirs(install_dir) if builder.endswith('vc2012'): dlls = ('msvcp110.dll', 'msvcr110.dll', 'vcomp110.dll') else: @@ -169,4 +169,6 @@ else: for dll in dlls: shutil.copyfile(os.path.join(dlls_path, dll), os.path.join(install_dir, dll)) + retcode = subprocess.call(['python', 'scons/scons.py'] + scons_options) + sys.exit(retcode) |