diff --git a/bridge/cmd/bridge/entrypoint.sh b/bridge/cmd/bridge/entrypoint.sh index 71ce7ef..f38f19f 100755 --- a/bridge/cmd/bridge/entrypoint.sh +++ b/bridge/cmd/bridge/entrypoint.sh @@ -26,35 +26,35 @@ then echo "\$ETH_NETWORK_ADDRESS is empty" exit 1 fi -sed -i -e "s/\$ETH_NETWORK_ADDRESS/$ETH_NETWORK_ADDRESS/g" ./config/config.toml +sed -i -e "s|\$ETH_NETWORK_ADDRESS|$ETH_NETWORK_ADDRESS|g" ./config/config.toml if [ -z "$ETH_CONTRACT_ADDRESS" ] then echo "\$ETH_CONTRACT_ADDRESS is empty" exit 1 fi -sed -i -e "s/\$ETH_CONTRACT_ADDRESS/$ETH_CONTRACT_ADDRESS/g" ./config/config.toml +sed -i -e "s|\$ETH_CONTRACT_ADDRESS|$ETH_CONTRACT_ADDRESS|g" ./config/config.toml if [ -z "$MVX_NETWORK_ADDRESS" ] then echo "\$MVX_NETWORK_ADDRESS is empty" exit 1 fi -sed -i -e "s/\$MVX_NETWORK_ADDRESS/$MVX_NETWORK_ADDRESS/g" ./config/config.toml +sed -i -e "s|\$MVX_NETWORK_ADDRESS|$MVX_NETWORK_ADDRESS|g" ./config/config.toml if [ -z "$MVX_CONTRACT_ADDRESS" ] then echo "\$MVX_CONTRACT_ADDRESS is empty" exit 1 fi -sed -i -e "s/\$MVX_CONTRACT_ADDRESS/$MVX_CONTRACT_ADDRESS/g" ./config/config.toml +sed -i -e "s|\$MVX_CONTRACT_ADDRESS|$MVX_CONTRACT_ADDRESS|g" ./config/config.toml if [ -z "$MVX_VALIDATOR_ADDRESS" ] then echo "\$MVX_VALIDATOR_ADDRESS is empty" exit 1 fi -sed -i -e "s/\$MVX_VALIDATOR_ADDRESS/$MVX_VALIDATOR_ADDRESS/g" ./config/config.toml +sed -i -e "s|\$MVX_VALIDATOR_ADDRESS|$MVX_VALIDATOR_ADDRESS|g" ./config/config.toml echo "Starting bridge..."