]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:55 +0000 (15:48 +0200)
development/LyX-Mac-binary-release.sh

index acde8c102871d3c3e035ff72314f11484ac2fd41..6c82f79d0e3e6000a11d588ec4b582bbb0d77f3d 100644 (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