diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-07 17:34:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-07 19:09:41 +0300 |
commit | 708e81bdfab1a7db4902c6512f009d9c4043428c (patch) | |
tree | 5281698b65d71cbf0bc1e5cb039fad1ad9d431b3 /build_files | |
parent | ea6992d0e5cbde4a2fbf62bf76fd6d6b698b91eb (diff) |
Fix buildbot error building release on macOS
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/buildbot/slave_pack.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py index 45331cce61f..a7729843a0e 100644 --- a/build_files/buildbot/slave_pack.py +++ b/build_files/buildbot/slave_pack.py @@ -88,13 +88,13 @@ def pack_mac(builder): release_dir = os.path.join(builder.blender_dir, 'release', 'darwin') bundle_sh = os.path.join(release_dir, 'bundle.sh') - if info.is_development_build: - background_image = os.path.join(release_dir, 'buildbot', 'background.tif') command = [bundle_sh] command += ['--source', builder.install_dir] command += ['--dmg', package_filepath] - command += ['--background-image', background_image] + if info.is_development_build: + background_image = os.path.join(release_dir, 'buildbot', 'background.tif') + command += ['--background-image', background_image] buildbot_utils.call(command) create_buildbot_upload_zip(builder, [(package_filepath, package_filename)]) |