tfa installation report 0403-057 syntax error
when installing TFA on AIX, it reports 0403-057 Syntax error at discover_ora_stack.sh.
"Discovering Nodes and Oracle resources
/u01/app/grid/tfa/hydrodb1/tfa_home/bin/discover_ora_stack.sh[776]: 0403-057 Syntax error at line 776 : `(' is not expected. "
the content of this script at line 776 is :
function assign_scr_switches () <<<<<<============== line 776
{
crs_version_switch="crs activeversion"
bash_scr="/bin/env bash"
bash_path=""
if [[ ! -f "/bin/bash" || ! -f "/bin/env" ]] ; then
bash_scr=$(which bash)
fi
if [[ ! -f "/bin/bash" ]] ; then
bash_path=$(dirname $bash_scr)
fi
bash_source="if [ -e \"/etc/profile\" ] ; then . /etc/profile >/dev/null 2>&1; fi; if [ -e \"\$HOME/.bash_profile\" ] ; then . \$HOME/.bash_profile >/dev/null 2>&1; elif [ -e \"\$HOME/.bash_login\" ] ; then . \$HOME/.bash_login >/dev/null 2>&1; elif [ -e \"\$HOME/.profile\" ] ; then . \$HOME/.profile >/dev/null 2>&1; fi;set +u"