https://qiushao.net/article/1489983836453?p=1&m=0
SCRIPT_DIR=$(cd $(dirname ${BASH_SOURCE[0]}); pwd) cd $SCRIPT_DIR echo "current path:" pwd