1. export无法生效 export在执行后根本没有修改到环境变量。解决办法:source ./run.sh 2. source:not found 在 shell 脚本的第一行加上一行 #!/bin/bash 即可。 Post Views: 783
留言