frankiejun / cvwt

Cloudflare 上建workers和pages节点及自动化优选IP的一揽子工具
https://github.com/frankiejun/cvwt
GNU General Public License v3.0
114 stars 100 forks source link

error start.sh #12

Closed yyqyu closed 1 week ago

yyqyu commented 2 weeks ago

sh start.sh config.yaml configfile:config.yaml, ipfile: start.sh: line 15: //for: not found 0.读取配置文件 start.sh: line 51: syntax error: unexpected redirection

frankiejun commented 2 weeks ago

把 start.sh: 第15行 的 // 改成 #

frankiejun commented 2 weeks ago

你这个运行命令sh start.sh config.yaml, 改为 bash start.sh config.yaml, 或者, chmod +x ./start.sh && ./start.sh config.yaml

yyqyu commented 1 week ago

我的op可能是有精简,所以bash和./ 都运行不了 改了脚本和权限还是报错了sh start.sh config.yaml configfile:config.yaml, ipfile: 0.读取配置文件 start.sh: line 51: syntax error: unexpected redirection

frankiejun commented 1 week ago

我的op可能是有精简,所以bash和./ 都运行不了 改了脚本和权限还是报错了sh start.sh config.yaml configfile:config.yaml, ipfile: 0.读取配置文件 start.sh: line 51: syntax error: unexpected redirection

因为脚本语法是bash,需要你安装bash。如果没有,就跑不了。