From 1c25b01fce27c85affee920441b9b09a7bfe0501 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Apr 2013 17:09:46 +0300 Subject: Eek, it is hard to get the right path to the .app that is being built Temporary directory name upon temporary directory name. Just in case. When in doubt, add one more temporary directory name layer. workdir/unxmacxx.pro/installation/LibreOffice_Dev/dmg/install/en-US_inprogress_temp.62979/./LibreOfficeDev_4.1.0.0.alpha0_MacOS_x86-64/LibreOfficeDev.app Couldn't quickly figure out how to construct the "LibreOfficeDev_4.1.0.0.alpha0_MacOS_x86-64" part so just use a wildcard * for that for now;) There won't be any other directories there anyway, as far as I know. Change-Id: If950d4cdfe3f7b0663f1b6fbd62185ca8284dd7f --- 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 3445fe35d1fe..e6e6484bb14f 100755 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -435,7 +435,7 @@ sub create_package # participate in the signing and their validity can be # guaranteed. - $systemcall = "codesign --sign $ENV{'MACOSX_CODESIGNING_IDENTITY'} --force -v -v -v $localtempdir/$folder/$volume_name_classic_app.app"; + $systemcall = "codesign --sign $ENV{'MACOSX_CODESIGNING_IDENTITY'} --force -v -v -v $localtempdir/$folder/*/$volume_name_classic_app.app"; print "... $systemcall ...\n"; my $returnvalue = system($systemcall); $infoline = "Systemcall: $systemcall\n"; -- cgit