summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-25 11:03:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-25 11:16:59 +0100
commit1e2bdde0ff9be4888b1ad593d36c35003d658159 (patch)
treeb60bef7b2710ed119104c4cd4dddd07c036ba67b
parent6c406ff890b1525362f731692830ef324271dbc3 (diff)
Resolves: rhbz#725144 wrong csh syntax
(cherry picked from commit 1f1bba573a0bc1e27264c870b7822a8d183f80f3)
-rw-r--r--odk/setsdkenv_unix.csh.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/odk/setsdkenv_unix.csh.in b/odk/setsdkenv_unix.csh.in
index cb2b0f5d..f48be7b6 100644
--- a/odk/setsdkenv_unix.csh.in
+++ b/odk/setsdkenv_unix.csh.in
@@ -13,8 +13,7 @@ setenv OO_SDK_HOME '@OO_SDK_HOME@'
# Office installation directory.
# Example: set OFFICE_HOME=/opt/libreoffice
-set OFFICE_HOME='@OFFICE_HOME@'
-OFFICE_BASE_HOME='@OFFICE_BASE_HOME@'
+setenv OFFICE_HOME '@OFFICE_HOME@'
# URE installation directory.
# Example: setenv OO_SDK_URE_HOME /opt/libreoffice/ure
@@ -227,7 +226,7 @@ if ( $?OO_SDK_JAVA_HOME == 0) then
endif
-if [ "${platform}" == "MacOSX" ] then
+if ( "${platform}" == "MacOSX" ) then
# For URE, prepare symbolic links for libraries:
# Only necessary on MacOSX, on other Unix systems the links are already prepared
# in the SDK installation.