get current dir 得到当前脚本的绝对路径 绝对路径 absolute path Bashexport PROJECT_HOME=$( cd $( dirname "$BASH_SOURCE[0]" ) && pwd )