中国开发网: 论坛: 程序员情感CBD: 贴子 566755
haitao
怎么安装脚本会报错的?
root@haitao-ubuntu-desktop:/media/cdrom0# sh setup.sh
setup.sh: 93: Syntax error: "(" unexpected


setup.sh
。。。。。
# END STRING TABLE

#START OF FUNCTIONS

#Look in /etc/ld.so.conf and search each directory for a pattern in $1.
#Caller should capture the output from stdout.
function FindLibrary() { ————应该是这一行报错了!

pattern="$1"

#Try default paths first
ls /usr/lib/${pattern} 2>/dev/null
ls /lib/${pattern} 2>/dev/null
。。。。。。。。

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录