[ https://issues.apache.org/jira/browse/AXIS2-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eran Chinthaka reassigned AXIS2-2742: ------------------------------------- Assignee: Eran Chinthaka (was: Deepal Jayasinghe) > axis.sh is missing quotes on variables? causes ./axis2.sh: line 38: [: !=: > unary operator expected > -------------------------------------------------------------------------------------------------- > > Key: AXIS2-2742 > URL: https://issues.apache.org/jira/browse/AXIS2-2742 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.2 > Environment: linux > Reporter: Ted Leung > Assignee: Eran Chinthaka > Priority: Blocker > > When I run the .sh files in axis2, 1.2 I get a bash error as follows > [1248:[EMAIL PROTECTED]:/data/svn/soap_client/axis2-1.2/bin]./wsdl2java.sh > Using AXIS2_HOME: /data/svn/soap_client/axis2-1.2 > Using JAVA_HOME: /data/apps/jdk1.6.0 > ./axis2.sh: line 38: [: !=: unary operator expected > are the variables in the axis.sh file suppose to be in quotes? it seems to > make the error go away, i.e. > line 38 : if [ "$arg" != -classpath ] && [ "$arg" != -cp ] && [ "$prearg" > != -classpath ] && [ "$prearg" != -cp ] > and > line 43 : if [ "$prearg" = -classpath ] || [ "$prearg" = -cp ] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]