") 2> /dev/null; then
:
else
- as_candidate_shells="$SHELL"
+ as_candidate_shells=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
done
- for as_shell in $as_candidate_shells; do
+ for as_shell in $as_candidate_shells ${SHELL-/bin/sh}; do
if { $as_shell 2> /dev/null <<\_ASEOF
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
") 2> /dev/null; then
:
else
- as_candidate_shells="$SHELL"
+ as_candidate_shells=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
done
- for as_shell in $as_candidate_shells; do
+ for as_shell in $as_candidate_shells $SHELL; do
if { $as_shell 2> /dev/null <<\_ASEOF
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then