From 908ed661ee056a6d7af560190898c3ed78112e47 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 22 Jan 2020 11:11:58 +0100 Subject: Fix Blender DMG bundling for macOS failing on buildbot The change from D6462 caused a permission prompt. Setting the user and group UID appears unnecessary to fix the issue, so leave just the mode. --- release/darwin/bundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/darwin') diff --git a/release/darwin/bundle.sh b/release/darwin/bundle.sh index 5cd855f8f97..6d8695a441d 100755 --- a/release/darwin/bundle.sh +++ b/release/darwin/bundle.sh @@ -104,7 +104,7 @@ _image_size=$(echo "${_directory_size}" + 400 | bc) # extra 400 need for codesig echo echo -n "Creating disk image of size ${_image_size}M.." test -f "${_tmp_dmg}" && rm "${_tmp_dmg}" -hdiutil create -size "${_image_size}m" -fs HFS+ -srcfolder "${_tmp_dir}" -volname "${_volume_name}" -format UDRW "${_tmp_dmg}" -uid 0 -gid 0 -mode 755 +hdiutil create -size "${_image_size}m" -fs HFS+ -srcfolder "${_tmp_dir}" -volname "${_volume_name}" -format UDRW "${_tmp_dmg}" -mode 755 echo "Mounting readwrite image..." hdiutil attach -readwrite -noverify -noautoopen "${_tmp_dmg}" -- cgit v1.2.3