use path to developer tools for SetFile utility as fallback

(cherry picked from commit 38ba0ea240)
This commit is contained in:
Stephan Witt 2020-03-29 18:56:53 +02:00
parent 06c98e906b
commit ee5b6cc0b5

View File

@ -1026,7 +1026,7 @@ make_dmg() {
ln -s /Applications/ "${VOLUME}"/Applications
test -d "${DocumentationDir}" && ditto --hfsCompression "${DocumentationDir}" "${VOLUME}"
set_bundle_display_options "${VOLUME}" ${BG_W} ${BG_H}
${XCODE_DEVELOPER}/Tools/SetFile -a C "${VOLUME}"
PATH="${XCODE_DEVELOPER}/Tools:$PATH" SetFile -a C "${VOLUME}"
mv "${VOLUME}/Pictures" "${VOLUME}/.Pictures"
# Unmount the disk image