summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2010-11-05 15:11:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-11-08 13:23:36 +0000
commitbe93d9379b55cb25e52641ea4d122d3a0b7a48e9 (patch)
tree634f285709da4d94a852c24062a65546bf762e14 /odk
parent35e79d79be41c1fe55a8965123eb0e7b6dc12ed4 (diff)
Adapt LibreOffice branding in LibO-SDK user installation script.
This patch adapt the defaults presented when a user sdk environment is created in GNU/Linux and similar platforms.
Diffstat (limited to 'odk')
-rwxr-xr-xodk/configure.pl4
-rwxr-xr-xodk/setsdkenv_unix2
2 files changed, 3 insertions, 3 deletions
diff --git a/odk/configure.pl b/odk/configure.pl
index 11f5987cb94a..c02755c56772 100755
--- a/odk/configure.pl
+++ b/odk/configure.pl
@@ -636,9 +636,9 @@ sub searchMacOffice
sub searchoffice
{
- my $offset = rindex($main::sdkpath, "/openoffice.org");
+ my $offset = rindex($main::sdkpath, "/libreoffice");
my $tmpOffice = substr($main::sdkpath, 0, $offset);
- my $officepath = "$tmpOffice/openoffice.org$main::OO_MAJORVERSION";
+ my $officepath = "$tmpOffice/libreoffice";
# if ( $main::OO_MINORVERSION > 0) {
# $officepath = "$officepath$main::OO_MINORVERSION";
diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix
index 31e0200eb1b7..6b0dd7c18683 100755
--- a/odk/setsdkenv_unix
+++ b/odk/setsdkenv_unix
@@ -10,7 +10,7 @@ if [ "$OSTYPE" = "Darwin" ]
then
OO_SDK_NAME=`basename $OO_SDK_HOME`
else
- OO_SDK_NAME=openoffice.org${OOVERSION}_sdk
+ OO_SDK_NAME=libreoffice${OOVERSION}_sdk
fi
export OO_SDK_HOME