求助高手, 當執行 xa指令時 有如下訊息
/home/cadtools/synopsys_xa/xatool/xa201003/XA_201003/bin/xa: line 247: dirname: command not found
/home/cadtools/synopsys_xa/xatool/xa201003/XA_201003/bin/xa: line 275: dirname: command not found
/home/cadtools/synopsys_xa/xatool/xa201003/XA_201003/bin/xa: line 148: expr: command not found
/home/cadtools/synopsys_xa/xatool/xa201003/XA_201003/bin/xa: line 173: expr: command not found
/home/cadtools/synopsys_xa/xatool/xa201003/XA_201003/bin/xa: line 174: expr: command not found
找出xa 指令 error 相對應的 line為
line 247--> synopsys_install_root_bin=`dirname "$cmd"`
line 275--> SYNOPSYS_INSTALL_ROOT=`dirname "${synopsys_install_root_bin}"`
line 148--> if [ "`expr \" ${cc_arg} \" : \".*[
]${cc_bitflag}[
].*\"`" = "0" ] ; then
line 173--> cc_cmd=`expr "$1" : '[
]*\([^
].*[^
]\)[
]*'`
line 174--> cc_name=`expr "$cc_cmd" : '\([^
]*\).*'`