Norbert Preining wrote: > 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!)
Committed (I will/can not test this myself, I have /bin/bash as login shell and am perfectly happy with that). Best wishes, Taco
