From bbd045f53e605b40df6047ca4e755a985c199607 Mon Sep 17 00:00:00 2001 From: Hui Li Date: Fri, 22 Jan 2021 10:01:52 +0800 Subject: [PATCH] [NONE] --- tests/script/sh/mv_old_data.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/script/sh/mv_old_data.sh b/tests/script/sh/mv_old_data.sh index 87fcbb6def..632ac700b7 100755 --- a/tests/script/sh/mv_old_data.sh +++ b/tests/script/sh/mv_old_data.sh @@ -32,9 +32,9 @@ NODE_DIR=$SIM_DIR/$NODE_NAME rm -rf $SIM_DIR/dnode1 rm -rf $SIM_DIR/dnode2 rm -rf $SIM_DIR/dnode3 -rm -rf $SIM_DIR/tsim tar zxf $SCRIPT_DIR/general/connection/sim.tar.gz -C $SIM_DIR/../ cd $SIM_DIR/../sim fqdn=`hostname` -grep '${fqdn}' -l -r ./* | xargs sed -i 's/${fqdn}/${fqdn}/g' +grep 'test4' -l -r ./* | xargs sed -i "s/test4/${fqdn}/g" +grep 'dataDir' -l -r ./* | xargs sed -i "s#/root/TDengine#${TAOS_DIR}#g" -- GitLab