得到当前绝对路径¶ Bashexport CURRENT=`pwd` # export CURRENT=$(pwd) export COMPILER_6434_ROOT=$(realpath "$CURRENT/../../../../") echo $COMPILER_6434_ROOT