diff --git a/script/scp-hosts.sh b/script/scp-hosts.sh index 49c2409a6a..adee7d76c7 100644 --- a/script/scp-hosts.sh +++ b/script/scp-hosts.sh @@ -41,7 +41,7 @@ do do # if worker in workersGroup if [[ "${map[${host}]}" ]] && [[ "${dsDir}" -eq "conf" ]]; then - sed -i ${txt} "s#worker.group.*#worker.group=${map[${host}]}#g" conf/worker.properties + sed -i ${txt} "s#worker.group.*#worker.group=${map[${host}]}#g" $workDir/../conf/worker.properties fi echo "start to scp $dsDir to $host/$installPath"