diff options
author | mboelen <michael@cisofy.com> | 2016-03-03 12:20:23 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-03-03 12:20:23 +0300 |
commit | a67a8f89bc0fc66c4d84690da1664c10f16eafa0 (patch) | |
tree | c53dd17be6537d0a76870df5e054a37da951c33c /include/data_upload | |
parent | 54ab91f87eededb3f72733567a1c657f00b408ec (diff) |
Added space when upload options are used
Diffstat (limited to 'include/data_upload')
-rw-r--r-- | include/data_upload | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/data_upload b/include/data_upload index 371248fd..e162a936 100644 --- a/include/data_upload +++ b/include/data_upload @@ -22,17 +22,13 @@ PROGRAM_VERSION="101" # Data upload destination - if [ "${UPLOAD_SERVER}" = "" ]; then - UPLOAD_SERVER="cisofy.com" - fi + if [ "${UPLOAD_SERVER}" = "" ]; then; UPLOAD_SERVER="portal.cisofy.com"; fi UPLOAD_URL="https://${UPLOAD_SERVER}/upload/" LogText "Upload server: ${UPLOAD_SERVER}" LogText "URL to upload to: ${UPLOAD_URL}" # License server (set to upload server if not configured) - if [ "${LICENSE_SERVER}" = "" ]; then - LICENSE_SERVER="${UPLOAD_SERVER}" - fi + if [ "${LICENSE_SERVER}" = "" ]; then LICENSE_SERVER="${UPLOAD_SERVER}"; fi LICENSE_SERVER_URL="https://${LICENSE_SERVER}/license/" LogText "License server: ${LICENSE_SERVER}" @@ -40,7 +36,7 @@ PROGRAM_VERSION="101" if [ "${UPLOAD_OPTIONS}" = "" ]; then CURL_OPTIONS="" else - CURL_OPTIONS="${UPLOAD_OPTIONS}" + CURL_OPTIONS=" ${UPLOAD_OPTIONS}" fi SETTINGS_FILE="${PROFILE}" |