From 38c2da62f8992133109507664a48459467a290da Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Wed, 27 Feb 2013 01:31:34 +0100 Subject: Fix build on Mac Without this codesigning is unconditionally tried, unconditionally breaking the build. --- solenv/bin/modules/installer/simplepackage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index 26911a4d414b..32d3066ec15d 100755 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -420,7 +420,7 @@ sub create_package } else { - if (defined($ENV{'MACOSX_CODESIGNING_IDENTITY'})) + if (defined($ENV{'MACOSX_CODESIGNING_IDENTITY'}) && $ENV{'MACOSX_CODESIGNING_IDENTITY'} ne "" ) { # Just sign the .app as a whole, which means signing # the CFBundleExecutable from Info.plist, -- cgit v1.2.3