On Do, 07 Jan 2010, Khaled Hosny wrote:
> if [ -x /bin/bash ]; then
>   export CONFIG_SHELL=/bin/bash;
> fi

I would suggest:

        if which bash >/dev/null
        then
                export CONFIG_SHELL=`which bash`
        fi

which would work on computers where bash is not in /bin (yes there are!)

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            prein...@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan            TU Wien, Austria           Debian TeX Task Force
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
THURNBY (n.)
A rucked-up edge of carpet or linoleum which everyone says someone
will trip over and break a leg unless it gets fixed. After a year or
two someone trips over it and breaks a leg.
                        --- Douglas Adams, The Meaning of Liff

Reply via email to