From 228ef6ad30930c3f80870896767deee7c55a83b5 Mon Sep 17 00:00:00 2001 From: Richard L King Date: Mon, 27 Jan 2020 19:25:10 +0000 Subject: [PATCH] Fix bug in macOS scripts - fixes #59 --- resources/gatewaystartmacos.sh | 11 +++++++---- resources/twsstartmacos.sh | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/resources/gatewaystartmacos.sh b/resources/gatewaystartmacos.sh index 205e695..5a85b78 100644 --- a/resources/gatewaystartmacos.sh +++ b/resources/gatewaystartmacos.sh @@ -23,7 +23,7 @@ IBC_INI=~/ibc/config.ini TRADING_MODE= IBC_PATH=/opt/ibc TWS_PATH=~/Applications -TWS_CONFIG_PATH=~/Jts +TWS_SETTINGS_PATH= LOG_PATH=~/ibc/logs TWSUSERID= TWSPASSWORD= @@ -88,9 +88,12 @@ JAVA_PATH= # different folder, but there are virtually no good reasons for doing so. -# TWS_CONFIG_PATH +# TWS_SETTINGS_PATH # -# The folder where the jts.ini and *.vmoptions files are stored. +# The directory where TWS is to store its settings. This setting is ignored +# if the IbDir setting in the configuration file is specified. If no value +# is specified in either place, the settings are stored in the TWS_PATH +# directory. # LOG_PATH @@ -146,7 +149,7 @@ export IBC_INI export TRADING_MODE export IBC_PATH export TWS_PATH -export TWS_CONFIG_PATH +export TWS_SETTINGS_PATH export LOG_PATH export TWSUSERID export TWSPASSWORD diff --git a/resources/twsstartmacos.sh b/resources/twsstartmacos.sh index 4bb9cea..02148bb 100644 --- a/resources/twsstartmacos.sh +++ b/resources/twsstartmacos.sh @@ -23,7 +23,7 @@ IBC_INI=~/ibc/config.ini TRADING_MODE= IBC_PATH=/opt/ibc TWS_PATH=~/Applications -TWS_CONFIG_PATH=~/Jts +TWS_SETTINGS_PATH= LOG_PATH=~/ibc/logs TWSUSERID= TWSPASSWORD= @@ -86,9 +86,12 @@ JAVA_PATH= # different folder, but there are virtually no good reasons for doing so. -# TWS_CONFIG_PATH +# TWS_SETTINGS_PATH # -# The folder where the jts.ini and *.vmoptions files are stored. +# The directory where TWS is to store its settings. This setting is ignored +# if the IbDir setting in the configuration file is specified. If no value +# is specified in either place, the settings are stored in the TWS_PATH +# directory. # LOG_PATH @@ -134,7 +137,7 @@ export IBC_INI export TRADING_MODE export IBC_PATH export TWS_PATH -export TWS_CONFIG_PATH +export TWS_SETTINGS_PATH export LOG_PATH export TWSUSERID export TWSPASSWORD