syntax error: unexpected end of file (expecting "then")解决方案

上一篇 / 下一篇  2018-01-10 11:13:45 / 个人分类:android

在类android的系统中,使用sh文件,提示syntax error: unexpected end of file (expecting "then")

解决方法:
dos2unix + 文件路径

原因:
可能在window下编辑的换行符等符号不是类unix的符号。

TAG: Android android

 

评分:0

我来说两句

Open Toolbar