diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-22 13:11:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-22 13:14:30 +0300 |
commit | 908ed661ee056a6d7af560190898c3ed78112e47 (patch) | |
tree | f7fa0f1db1aaf6cf5c876d711ce33564177a579b | |
parent | 69828cba533d486d3c00578cd0bd03a5e2b8d1c6 (diff) |
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.
-rwxr-xr-x | release/darwin/bundle.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |