cygwin的sh: line 15: $'\r': command not found错误

安装dos2unix工具,转换一下sh文件即可

apt-cyg install dos2unix

dos2unix xxx.sh

 

posted @ 2019-03-22 09:57  带狗狗带  Views(559)  Comments(0Edit  收藏  举报