distro-build/installer-dmg: codesign whole ".app" instead of just exe

This change is needed for the more stringent Gatekeeper introduced in
Mac OS X 10.9.5, but the build machine has to be 10.9 or later to make
10.9.5 clients happy.
This commit is contained in:
Matthew Flatt 2014-11-04 04:52:18 -07:00
parent 168e76ac0e
commit 8a85587178

View File

@ -86,7 +86,7 @@
(path-replace-suffix name #"")))
(define exe (build-path f "Contents" "MacOS" name))
(when (file-exists? exe)
(system*/show codesign "-s" sign-identity exe)))))
(system*/show codesign "-s" sign-identity f)))))
(check-bins (build-path dest-dir "bin"))
(check-bins (build-path dest-dir "lib"))
(check-apps dest-dir)