[阅读: 590] 2007-09-23 16:31:17
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
。。。。。。。。