[LyX/master] use path to developer tools for SetFile utility as fallback

Stephan Witt switt at lyx.org
Sun Mar 29 16:37:02 UTC 2020


commit 38ba0ea240375ad945c177ed2433875ad7ea2e30
Author: Stephan Witt <switt at lyx.org>
Date:   Sun Mar 29 18:56:53 2020 +0200

    use path to developer tools for SetFile utility as fallback
---
 development/LyX-Mac-binary-release.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh
index acde8c1..6c82f79 100644
--- a/development/LyX-Mac-binary-release.sh
+++ b/development/LyX-Mac-binary-release.sh
@@ -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


More information about the lyx-cvs mailing list