[Bf-blender-cvs] [708e81bdfab] master: Fix buildbot error building release on macOS

Brecht Van Lommel noreply at git.blender.org
Sat Sep 7 18:12:58 CEST 2019


Commit: 708e81bdfab1a7db4902c6512f009d9c4043428c
Author: Brecht Van Lommel
Date:   Sat Sep 7 16:34:38 2019 +0200
Branches: master
https://developer.blender.org/rB708e81bdfab1a7db4902c6512f009d9c4043428c

Fix buildbot error building release on macOS

===================================================================

M	build_files/buildbot/slave_pack.py

===================================================================

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)])



More information about the Bf-blender-cvs mailing list