diff --git a/DATA/common/setenv_calib.sh b/DATA/common/setenv_calib.sh index 68c0454f9..d0e8d120d 100755 --- a/DATA/common/setenv_calib.sh +++ b/DATA/common/setenv_calib.sh @@ -119,8 +119,10 @@ get_proxy_connection() # setting the type of connection if [[ $2 == "input" ]]; then local CONNECTION="method=bind,type=pull" + local NAMECONNECTION="--proxy-name" elif [[ $2 == "output" ]]; then local CONNECTION="method=connect,type=push" + local NAMECONNECTION="--proxy-channel-name" else echo "parameter 2 should be either 'input' or 'output'" exit 2 @@ -131,7 +133,7 @@ get_proxy_connection() else CONNECTION+=",transport=zeromq" fi - local PROXY_CONN="--proxy-channel-name aggregator-proxy-$1 --channel-config \"name=aggregator-proxy-$1,$CONNECTION,rateLogging=1\"" + local PROXY_CONN="$NAMECONNECTION aggregator-proxy-$1 --channel-config \"name=aggregator-proxy-$1,$CONNECTION,rateLogging=1\"" echo PROXY_CONN = $PROXY_CONN 1>&2 echo $PROXY_CONN