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
committerYimingWu <xp8110@outlook.com>2019-09-12 04:13:03 +0300
commitedc7c3bc33dbcbea37aa9fcf20716d7ddc003e3c (patch)
tree00c3166b8856aceb7ee761e06354b041e9578f7b
parentd1353c8a5295553558b87c47774f284943476231 (diff)
Fix buildbot error building release on macOS
-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)])