diff --git a/README.md b/README.md index ca572bee4d..392b131636 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,11 @@ sh bin/chunjun-local.sh -job $SCRIPT_PATH The parameter of "$SCRIPT_PATH" means 'the path where the task script is located'. After execute, you can perform a task locally. +note: +``` +when you package in windows and run sh in linux , you need to execute command sed -i "s/\r//g" bin/*.sh to fix the '\r' problems. +``` + [Reference video](https://www.bilibili.com/video/BV1mT411g7fJ?spm_id_from=333.999.0.0) ### Standalone diff --git a/README_CH.md b/README_CH.md index 8e1e644a51..377f5de663 100644 --- a/README_CH.md +++ b/README_CH.md @@ -127,6 +127,11 @@ sh bin/chunjun-local.sh -job chunjun-examples/json/stream/stream.json 即可执行一个简单的 **stream -> stream** 同步任务 +注意: +``` +如果你是在windows环境下打包,在linux上运行任务前需要执行 sed -i "s/\r//g" bin/*.sh 命令修复sh脚本中的 '\r' 问题。 +``` + [参考视频](https://www.bilibili.com/video/BV1mT411g7fJ?spm_id_from=333.999.0.0) ### Standalone