aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packaging-tools/build_wrapper.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging-tools/build_wrapper.py b/packaging-tools/build_wrapper.py
index 726da9660..fea66da5d 100644
--- a/packaging-tools/build_wrapper.py
+++ b/packaging-tools/build_wrapper.py
@@ -916,8 +916,10 @@ def sign_installer(installer_output_dir, installer_name, installer_name_base):
if installer_name.endswith(".dmg"):
unlock_keychain()
sign_mac_executable(installer_name_base + '.app', installer_output_dir, True)
- cmd_args = ['hdiutil', 'create', '-srcfolder', os.path.join(installer_output_dir, installer_name_base) + '.app', '-volname', installer_name_base, '-format', 'UDBZ', os.path.join(installer_output_dir, installer_name_base) + '.dmg', '-ov', '-scrub', '-size', '4g']
+ disk_image_filepath = os.path.join(installer_output_dir, installer_name_base) + '.dmg'
+ cmd_args = ['hdiutil', 'create', '-srcfolder', os.path.join(installer_output_dir, installer_name_base) + '.app', '-volname', installer_name_base, '-format', 'UDBZ', disk_image_filepath, '-ov', '-scrub', '-size', '4g']
bldinstallercommon.do_execute_sub_process(cmd_args, installer_output_dir)
+ sign_mac_executable(disk_image_filepath, installer_output_dir, True)
if installer_name.endswith(".exe"):
sign_windows_executable(installer_name, installer_output_dir, True)