summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2013-02-27 01:31:34 +0100
committerThorsten Behrens <tbehrens@suse.com>2013-02-27 01:31:34 +0100
commit38c2da62f8992133109507664a48459467a290da (patch)
tree930d80a9fbf8cbdf34649d08001a0b15c445ce04 /solenv
parent91f86bd3ae0afa90f7ce5302b6cdb54c5338b128 (diff)
Fix build on Mac
Without this codesigning is unconditionally tried, unconditionally breaking the build.
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/modules/installer/simplepackage.pm2
1 files changed, 1 insertions, 1 deletions
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,