更新时间:2023-02-14 17:00:43
我已经看到,如果脚本有Windows行结尾,而不是Unix行结尾的这个错误。尝试在脚本运行 DOS2UNIX的
,看看你得到同样的错误。
I have seen this error if the script has windows line endings instead of unix line endings. Try running dos2unix
on the script and see if you get the same error.