]> git.lyx.org Git - features.git/commitdiff
use path to developer tools for SetFile utility as fallback
authorStephan Witt <switt@lyx.org>
Sun, 29 Mar 2020 16:56:53 +0000 (18:56 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 7 Jun 2020 17:37:14 +0000 (19:37 +0200)
(cherry picked from commit 38ba0ea240375ad945c177ed2433875ad7ea2e30)

development/LyX-Mac-binary-release.sh

index 8aaa74b75c04efda231359f33f2c16596d334177..023b272cc01f3a06f79f3cd05f9a8a167632fbb8 100644 (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