首页 > 代码库 > 使用sh-x调试shell脚本

使用sh-x调试shell脚本

参考:http://blog.chinaunix.net/uid-20564848-id-73502.html

 

1. 通过sh -x 脚本名  #显示脚本执行过程
2.脚本里set -x选项,轻松跟踪调试shell脚本

[以下字段转自:http://linux.chinaitlab.com/SHELL/727128_4.html]
"-x"选项可用来跟踪脚本的执行,是调试shell脚本的强有力工具。“-x”选项使shell在执行脚本的过程中把它实际执行的每一个命令行显示出来,并且在行首显示一个"+"号。 "+"号后面显示的是经过了变量替换之后的命令行的内容,有助于分析实际执行的是什么命令。 “-x”选项使用起来简单方便,可以轻松对付大多数的shell调试任务,应把其当作首选的调试手段。
    shell的执行选项除了可以在启动shell时指定外,亦可在脚本中用set命令来指定。 "set -参数"表示启用某选项,"set +参数"表示关闭某选项。有时候我们并不需要在启动时用"-x"选项来跟踪所有的命令行,这时我们可以在脚本中使用set命令,如以下脚本片段所示:
    set -x    #启动"-x"选项 要跟踪的程序段 set +x     #关闭"-x"选项
    set命令同样可以使用上一节中介绍的调试钩子—DEBUG函数来调用,这样可以避免脚本交付使用时删除这些调试语句的麻烦,如以下脚本片段所示:
    DEBUG set -x    #启动"-x"选项 要跟踪的程序段 DEBUG set +x    #关闭"-x"选项
对"-x"选项的增强
    "-x"执行选项是目前最常用的跟踪和调试shell脚本的手段,但其输出的调试信息仅限于进行变量替换之后的每一条实际执行的命令以及行首的一个"+"号提示符,居然连行号这样的重要信息都没有,对于复杂的shell脚本的调试来说,还是非常的不方便。幸运的是,我们可以巧妙地利用shell内置的一些环境变量来增强"-x"选项的输出信息,下面先介绍几个shell内置的环境变量:

    $LINENO
    代表shell脚本的当前行号,类似于C语言中的内置宏__LINE__

    $FUNCNAME
    函数的名字,类似于C语言中的内置宏__func__,但宏__func__ 只能代表当前所在的函数名,而$FUNCNAME的功能更强大,它是一个数组变量,其中包含了整个调用链上所有的函数的名字,故变量${FUNCNAME [0]}代表shell脚本当前正在执行的函数的名字,而变量${FUNCNAME[1]}则代表调用函数${FUNCNAME[0]}的函数的名字,余者可以依此类推。

    $PS4
    主提示符变量$PS1和第二级提示符变量$PS2比较常见,但很少有人注意到第四级提示符变量$PS4的作用。我们知道使用“-x”执行选项将会显示shell脚本中每一条实际执行过的命令,而$PS4的值将被显示在“-x”选项输出的每一条命令的前面。在Bash Shell中,缺省的$PS4的值是"+"号。(现在知道为什么使用"-x"选项时,输出的命令前面有一个"+"号了吧?)。

    利用$PS4这一特性,通过使用一些内置变量来重定义$PS4的值,我们就可以增强"-x"选项的输出信 息。例如先执行export PS4=‘+{$LINENO:${FUNCNAME[0]}} ‘, 然后再使用“-x”选项来执行脚本,就能在每一条实际执行的命令前面显示其行号以及所属的函数名。

luther@gliethttp:~$ wget http://downloads.sourceforge.net/iperf/iperf-2.0.4.tar.gz?modtime=1207626803&big_mirror=0
luther@gliethttp:/vobs/iperf-2.0.4$ sh -x ./configure --host=arm-linux
+ test -n 
+ BIN_SH=xpg4
+ export BIN_SH
+ DUALCASE=1
+ export DUALCASE
+ as_cr_letters=abcdefghijklmnopqrstuvwxyz
+ as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_digits=0123456789
+ as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+ test  != set
+ echo #! /bin/sh
+ echo exit 0
+ chmod +x conf25256.sh
+ PATH_SEPARATOR=:
+ rm -f conf25256.sh
+ as_unset=unset
+ as_nl=

+ IFS=     

+ as_myself=./configure
+ test x./configure = x
+ test ! -f ./configure
+ unset ENV
+ unset MAIL
+ unset MAILPATH
+ PS1=$ 
+ PS2=> 
+ PS4=+ 
+ set +x
+ eval LANG=C
+ LANG=C
+ export LANG
+ set +x
+ eval LANGUAGE=C
+ LANGUAGE=C
+ export LANGUAGE
+ set +x
+ eval LC_ADDRESS=C
+ LC_ADDRESS=C
+ export LC_ADDRESS
+ set +x
+ eval LC_ALL=C
+ LC_ALL=C
+ export LC_ALL
+ set +x
+ eval LC_COLLATE=C
+ LC_COLLATE=C
+ export LC_COLLATE
+ set +x
+ eval LC_CTYPE=C
+ LC_CTYPE=C
+ export LC_CTYPE
+ set +x
+ eval LC_IDENTIFICATION=C
+ LC_IDENTIFICATION=C
+ export LC_IDENTIFICATION
+ set +x
+ eval LC_MEASUREMENT=C
+ LC_MEASUREMENT=C
+ export LC_MEASUREMENT
+ set +x
+ eval LC_MESSAGES=C
+ LC_MESSAGES=C
+ export LC_MESSAGES
+ set +x
+ eval LC_MONETARY=C
+ LC_MONETARY=C
+ export LC_MONETARY
+ set +x
+ eval LC_NAME=C
+ LC_NAME=C
+ export LC_NAME
+ set +x
+ eval LC_NUMERIC=C
+ LC_NUMERIC=C
+ export LC_NUMERIC
+ set +x
+ eval LC_PAPER=C
+ LC_PAPER=C
+ export LC_PAPER
+ set +x
+ eval LC_TELEPHONE=C
+ LC_TELEPHONE=C
+ export LC_TELEPHONE
+ set +x
+ eval LC_TIME=C
+ LC_TIME=C
+ export LC_TIME
+ expr a : \(a\)
+ expr 00001 : .*\(...\)
+ test X001 = X001
+ as_expr=expr
+ basename -- /
+ test X/ = X/
+ as_basename=basename
+ basename -- ./configure
+ as_me=configure
+ unset CDPATH
+ test x = x
+ as_have_required=yes
+ test yes = yes
+ as_candidate_shells=
+ as_save_IFS=     

+ IFS=:
+ IFS=     

+ test -z /usr/bin/posix
+ as_candidate_shells= /usr/bin/posix/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5
+ IFS=     

+ test -z /bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5
+ IFS=     

+ test -z /usr/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5
+ IFS=     

+ test -z /usr/local/arm-linux-4.2.1/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5
+ IFS=     

+ test -z /usr/local/jdk1.5/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5
+ IFS=     

+ test -z /usr/local/arm-linux/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5
+ IFS=     

+ test -z /usr/local/sbin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5
+ IFS=     

+ test -z /usr/local/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5
+ IFS=     

+ test -z /usr/sbin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5
+ IFS=     

+ test -z /usr/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5
+ IFS=     

+ test -z /sbin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5
+ IFS=     

+ test -z /bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5
+ IFS=     

+ test -z /usr/games
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5
+ IFS=     

+ test -z 
+ as_dir=.
+ IFS=     

+ test -z /home/luther/work/Android/eclipse
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5
+ IFS=     

+ test -z /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh5
+ IFS=     

+ test -z /opt/Sourcery_G++_Lite/bin
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh5 /opt/Sourcery_G++_Lite/bin/sh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh5 /opt/Sourcery_G++_Lite/bin/sh /opt/Sourcery_G++_Lite/bin/bash
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh5 /opt/Sourcery_G++_Lite/bin/sh /opt/Sourcery_G++_Lite/bin/bash /opt/Sourcery_G++_Lite/bin/ksh
+ as_candidate_shells= /usr/bin/posix/sh /usr/bin/posix/bash /usr/bin/posix/ksh /usr/bin/posix/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /usr/local/arm-linux-4.2.1/bin/sh /usr/local/arm-linux-4.2.1/bin/bash /usr/local/arm-linux-4.2.1/bin/ksh /usr/local/arm-linux-4.2.1/bin/sh5 /usr/local/jdk1.5/bin/sh /usr/local/jdk1.5/bin/bash /usr/local/jdk1.5/bin/ksh /usr/local/jdk1.5/bin/sh5 /usr/local/arm-linux/bin/sh /usr/local/arm-linux/bin/bash /usr/local/arm-linux/bin/ksh /usr/local/arm-linux/bin/sh5 /usr/local/sbin/sh /usr/local/sbin/bash /usr/local/sbin/ksh /usr/local/sbin/sh5 /usr/local/bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/sh5 /usr/sbin/sh /usr/sbin/bash /usr/sbin/ksh /usr/sbin/sh5 /usr/bin/sh /usr/bin/bash /usr/bin/ksh /usr/bin/sh5 /sbin/sh /sbin/bash /sbin/ksh /sbin/sh5 /bin/sh /bin/bash /bin/ksh /bin/sh5 /usr/games/sh /usr/games/bash /usr/games/ksh /usr/games/sh5 /home/luther/work/Android/eclipse/sh /home/luther/work/Android/eclipse/bash /home/luther/work/Android/eclipse/ksh /home/luther/work/Android/eclipse/sh5 /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/bash /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/ksh /home/luther/work/Android/android-sdk_m5-rc15_linux-x86/tools/sh5 /opt/Sourcery_G++_Lite/bin/sh /opt/Sourcery_G++_Lite/bin/bash /opt/Sourcery_G++_Lite/bin/ksh /opt/Sourcery_G++_Lite/bin/sh5
+ IFS=     

+ test -f /usr/bin/posix/sh
+ test -f /usr/bin/posix/sh.exe
+ test -f /usr/bin/posix/bash
+ test -f /usr/bin/posix/bash.exe
+ test -f /usr/bin/posix/ksh
+ test -f /usr/bin/posix/ksh.exe
+ test -f /usr/bin/posix/sh5
+ test -f /usr/bin/posix/sh5.exe
+ test -f /bin/sh
+ CONFIG_SHELL=/bin/sh
+ as_have_required=yes
+ /bin/sh
+ test -f /bin/bash
+ CONFIG_SHELL=/bin/bash
+ as_have_required=yes
+ /bin/bash
+ break
+ test x/bin/bash != x
+ unset BASH_ENV
+ unset ENV
+ export CONFIG_SHELL
+ exec /bin/bash ./configure --host=arm-linux
configure: WARNING: If you wanted to set the --build type, don‘t use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for arm-linux-g++... arm-linux-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-g++... gcc3
checking for arm-linux-gcc... arm-linux-gcc
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ISO C89... none needed
checking dependency style of arm-linux-gcc... gcc3
checking for strerror in -lcposix... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for arm-linux-ranlib... arm-linux-ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... arm-linux-gcc
checking for gethostbyname... yes
checking for socket... yes
checking how to run the C preprocessor... arm-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in include/iperf-int.h (assuming C99 compatible system)
checking 3rd argument of accept... socklen_t
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for working memcmp... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for gettimeofday... yes
checking for memset... yes
checking for pthread_cancel... no
checking for select... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking for usleep... yes
checking for snprintf... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for gettimeofday... (cached) yes
checking *printf() support for %lld... checking *printf() support for %qd... checking for bool... no
checking size of bool... 0
checking if true is defined... yes
checking whether byte ordering is bigendian... no
checking for struct ip_mreq... yes
checking whether IP_ADD_MEMBERSHIP is declared... yes
checking for multicast support... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking whether AF_INET6 is declared... yes
checking for IPv6 headers and structures... yes
checking for struct ipv6_mreq... yes
checking whether IPV6_ADD_MEMBERSHIP is declared... yes
checking whether IPV6_MULTICAST_HOPS is declared... yes
checking for IPv6 multicast support... yes
checking whether make is GNU make... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing include/iperf-int.h commands
config.status: creating include/iperf-int.h : _IPERF_INCLUDE_IPERF_INT_H
config.status: include/iperf-int.h is unchanged

使用sh-x调试shell脚本