if (-d /export/opt/cmake) then setenv PATH /export/opt/cmake/bin:${PATH} endif 如果存在export/opt/cmake,就将其设置为环境变量。