From 7e8cbfa5a71f42c0160addcbf29dc61d444d00f7 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 4 Nov 2014 04:52:18 -0700 Subject: [PATCH] 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. original commit: 8a8558717822537943710ea4850f4ead56f0fb14 --- pkgs/distro-build-pkgs/distro-build-client/installer-dmg.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/distro-build-pkgs/distro-build-client/installer-dmg.rkt b/pkgs/distro-build-pkgs/distro-build-client/installer-dmg.rkt index f18c541..b4793f2 100644 --- a/pkgs/distro-build-pkgs/distro-build-client/installer-dmg.rkt +++ b/pkgs/distro-build-pkgs/distro-build-client/installer-dmg.rkt @@ -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)