Issue #505 has been updated by Clément OUDOT.
Seems the good test is : <pre> [ -e "$JAVA_COMMAND" ] </pre> ---------------------------------------- Feature #505: Adapt startup script for Solaris 10 http://tools.lsc-project.org/issues/505 Author: Clément OUDOT Status: New Priority: Normal Assigned to: Category: Core Target version: 2.0 Solaris has 'which' command which ALWAYS returns 0 exit code. I proposing checking if file really exist instead of checking exit code. Except of above new script works OK! <pre> 91c91 < if [ $? -eq 0 ]; then return; fi --- > if [ -e JAVA_COMMAND ]; then return; fi 109c109 < if [ $? -eq 0 ]; then --- > if [ -e CYGPATH_COMMAND ]; then </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

