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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-07 17:34:38 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-07 19:09:41 +0300
commit708e81bdfab1a7db4902c6512f009d9c4043428c (patch)
tree5281698b65d71cbf0bc1e5cb039fad1ad9d431b3 /build_files
parentea6992d0e5cbde4a2fbf62bf76fd6d6b698b91eb (diff)
Fix buildbot error building release on macOS
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/slave_pack.py6
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)])