diff options
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 5 | ||||
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index 749ada966ca8..e6c7182e9f8f 100644 --- a/solenv/bin/modules/installer/scriptitems.pm +++ b/solenv/bin/modules/installer/scriptitems.pm @@ -1049,6 +1049,11 @@ sub get_Source_Directory_For_Files_From_Includepathlist { $destination =~ s,$extrarootdir/,,; # remove it from path } + if (($installer::globals::languagepack) && ($installer::globals::ismacbuild)) + { # source files are in $(PRODUCTNAME).app where they will + # actually copied by the user executing the Language Pack.app + $destination =~ s, Language Pack.app/,.app/,; + } $instdirdestination = $ENV{'INSTDIR'} . $installer::globals::separator . $destination; } if ($instdirdestination && -f $instdirdestination) diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index c8f8fce4de88..c486f2afbe1f 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -17,7 +17,7 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # -gb_INSTROOT := $(INSTDIR)/LibreOffice.app/Contents +gb_INSTROOT := $(INSTDIR)/$(PRODUCTNAME).app/Contents gb_DEVINSTALLROOT := $(gb_INSTROOT) gb_SDKDIR := $(MACOSX_SDK_PATH) |