diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-02 15:41:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-02 15:42:37 +0100 |
commit | 0ffe0bf68abcab15cfa2b4c949d30262a4aaa0e0 (patch) | |
tree | 1c9eed60c97c1f98d794c9a5efa8d5cf2a06ada1 /odk/config | |
parent | ce0513a9ee79d29f38db6b6b2bbc662826350eb6 (diff) |
Fold URE: Remove OO_SDK_URE_HOME on non-Windows
Change-Id: Iad0480eb39e2c1312c27cf9b90146c2beba592fd
Diffstat (limited to 'odk/config')
-rwxr-xr-x | odk/config/configure.pl | 4 | ||||
-rw-r--r-- | odk/config/setsdkenv_unix.sh.in | 13 |
2 files changed, 4 insertions, 13 deletions
diff --git a/odk/config/configure.pl b/odk/config/configure.pl index 70807273adaa..c0f3188a4274 100755 --- a/odk/config/configure.pl +++ b/odk/config/configure.pl @@ -114,7 +114,6 @@ if ( $main::operatingSystem =~ m/darwin/ ) } } - $main::OO_SDK_URE_HOME = "$main::OFFICE_HOME/Contents"; } else { $main::OFFICE_HOME_SUGGESTION = searchoffice(); @@ -184,8 +183,6 @@ if ( $main::operatingSystem =~ m/darwin/ ) } } } - - $main::OO_SDK_URE_HOME = "$main::OFFICE_HOME"; } # prepare GNU make path @@ -768,7 +765,6 @@ sub prepareScriptFile() $_ =~ s#\@OO_SDK_NAME\@#$main::OO_SDK_NAME#go; $_ =~ s#\@OO_SDK_HOME\@#$main::OO_SDK_HOME#go; $_ =~ s#\@OFFICE_HOME\@#$main::OFFICE_HOME#go; - $_ =~ s#\@OO_SDK_URE_HOME\@#$main::OO_SDK_URE_HOME#go; $_ =~ s#\@OO_SDK_MAKE_HOME\@#$main::OO_SDK_MAKE_HOME#go; $_ =~ s#\@OO_SDK_ZIP_HOME\@#$main::OO_SDK_ZIP_HOME#go; $_ =~ s#\@OO_SDK_CAT_HOME\@#$main::OO_SDK_CAT_HOME#go; diff --git a/odk/config/setsdkenv_unix.sh.in b/odk/config/setsdkenv_unix.sh.in index fc18d30b3a97..17afca3a895b 100644 --- a/odk/config/setsdkenv_unix.sh.in +++ b/odk/config/setsdkenv_unix.sh.in @@ -32,11 +32,7 @@ OO_SDK_HOME='@OO_SDK_HOME@' # Office installation directory. # Example: OFFICE_HOME=/opt/libreoffice OFFICE_HOME='@OFFICE_HOME@' - -# URE installation directory. -# Example: OO_SDK_URE_HOME=/opt/libreoffice/ure -OO_SDK_URE_HOME='@OO_SDK_URE_HOME@' -export OO_SDK_URE_HOME +export OFFICE_HOME # Directory of the make command. # Example: OO_SDK_MAKE_HOME=/usr/bin @@ -107,9 +103,9 @@ export UNO_PATH case ${sdk_platform} in darwin*) - OO_SDK_URE_BIN_DIR=${OO_SDK_URE_HOME}/MacOS - OO_SDK_URE_LIB_DIR=${OO_SDK_URE_HOME}/Frameworks - OO_SDK_URE_JAVA_DIR=${OO_SDK_URE_HOME}/Resources/java + OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_LIB_DIR=${OFFICE_HOME}/Contents/Frameworks + OO_SDK_URE_JAVA_DIR=${OFFICE_HOME}/${sdk_lo_java_dir} ;; *) OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH} @@ -294,7 +290,6 @@ echo " * SDK environment is prepared for ${platform}" echo " *" echo " * SDK = $OO_SDK_HOME" echo " * Office = $OFFICE_HOME" -echo " * URE = $OO_SDK_URE_HOME" echo " * Make = $OO_SDK_MAKE_HOME" echo " * Zip = $OO_SDK_ZIP_HOME" echo " * cat = $OO_SDK_CAT_HOME" |