summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-05-08 16:46:12 +0200
committerAndras Timar <andras.timar@collabora.com>2015-05-08 16:46:59 +0200
commit81802cfa7cb04f770e57413dbeb2c852c2431e65 (patch)
tree3b2530bcffa4c006789a300aeba04a6df5cf098c /solenv
parent2c70139d6a8d8fabd671455d3edd32117783d4d7 (diff)
OS X SDK.app build fix
Change-Id: Ib6f34f833a6fbaa8038796d86accd385b2a21a44
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/simplepackage.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm
index d470b4ebbcad..d70394e786bd 100644
--- a/solenv/bin/modules/installer/simplepackage.pm
+++ b/solenv/bin/modules/installer/simplepackage.pm
@@ -393,7 +393,7 @@ sub create_package
chdir $localfrom;
}
- else
+ elsif ($volume_name_classic_app eq 'LibreOffice' || $volume_name_classic_app eq 'LibreOfficeDev')
{
my $subdir = "$tempdir/$packagename/$volume_name_classic_app.app/Contents/Resources";
if ( ! -d $subdir ) { installer::systemactions::create_directory($subdir); }
@@ -402,8 +402,7 @@ sub create_package
{
installer::systemactions::create_directory($subdir . "/" . $lang . ".lproj");
}
- if (($volume_name_classic_app eq 'LibreOffice' || $volume_name_classic_app eq 'LibreOfficeDev') &&
- defined($ENV{'MACOSX_CODESIGNING_IDENTITY'}) && $ENV{'MACOSX_CODESIGNING_IDENTITY'} ne "" )
+ if ( defined($ENV{'MACOSX_CODESIGNING_IDENTITY'}) && $ENV{'MACOSX_CODESIGNING_IDENTITY'} ne "" )
{
$systemcall = "$ENV{'SRCDIR'}/solenv/bin/macosx-codesign-app-bundle $localtempdir/$folder/$volume_name_classic_app.app";
print "... $systemcall ...\n";