if (-d /export/opt/cmake) then
setenv PATH /export/opt/cmake/bin:${PATH}
endif
如果存在export/opt/cmake,就将其设置为环境变量。
如果/export/opt/cmake目录存在,则将此路径添加到系统的PATH环境变量中,确保cmake可执行文件能在命令行被找到。
if (-d /export/opt/cmake) then
setenv PATH /export/opt/cmake/bin:${PATH}
endif
如果存在export/opt/cmake,就将其设置为环境变量。
2万+
9546
3058

被折叠的 条评论
为什么被折叠?