马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册  
 
×
 
 本帖最后由 IR888 于 2016-6-15 15:24 编辑  
 
################ check CDSDIR environment variable  if (${?CDSDIR}) then  
# checks, if CDS-tree exists at specified location
  
if ( (! -e ${CDSDIR}/tools/dfII/bin)) then
  
echo -n "${AMS_ERROR} Fatal Error: "
  
echo "CDSDIR is set to $CDSDIR, which is not a valid CDS software tree."
  
exit 1
  
endif
 else  
echo -n "${AMS_ERROR} Error: "
  
echo "Environment variable CDSDIR is not set\!"
  
echo -n "${AMS_ERROR} Info: "
  
echo "Please set CDSDIR to the location of the CDS software tree."
  
exit 1
 endif  
‘?’什么意思? 在我看来 两端if 无论如何都会报错。 求解释  |