From 708e81bdfab1a7db4902c6512f009d9c4043428c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 7 Sep 2019 16:34:38 +0200 Subject: Fix buildbot error building release on macOS --- build_files/buildbot/slave_pack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build_files') 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)]) -- cgit v1.2.3