Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-01-22 13:11:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-01-22 13:14:30 +0300
commit908ed661ee056a6d7af560190898c3ed78112e47 (patch)
treef7fa0f1db1aaf6cf5c876d711ce33564177a579b /release/darwin
parent69828cba533d486d3c00578cd0bd03a5e2b8d1c6 (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.
Diffstat (limited to 'release/darwin')
-rwxr-xr-xrelease/darwin/bundle.sh2
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}"