use path to developer tools for SetFile utility as fallback

This commit is contained in:
Stephan Witt 2020-03-29 18:56:53 +02:00
parent 1e34871d38
commit 38ba0ea240

View File

@ -1030,7 +1030,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