参考:https://blog.csdn.net/u012453843/article/details/69803244解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token `fi'错误的问题