#606 soapui.sh fails on solaris platforms

open
nobody
general (369)
5
2011-03-22
2011-03-22
No

hi,

soapui 3.6.1
java version is not relevant, as the shell scripts aborts before starting the jvm
platform: SunOS 5.9 Generic_122300-46 sun4u sparc SUNW,Sun-Fire-V240 Solaris

running soapui.sh script will produce the following error:
/soapui/3.6.1/bin> ./soapui.sh
./soapui.sh: SOAPUI_CLASSPATH=/xxx/soapui/3.6.1/dist-bin/bin/soapui-3.6.1.jar: is not an identifier

the reason for this issue:
soapui.sh has many export statements which are defining a variable and exporting it in the same time. defining and exporting in one expression is supported by /bin/sh (see magic line of the script).

I guess the problem here is that the shebang of this script says /bin/sh which, on solaris, is indeed a /bin/sh whereas on linux /bin/sh is usually a symlink to /bin/bash.

so I can think of 2 potential pollutions:
- change magic line to /bin/bash
- split defining and exporting of variables (like back in version 2.5.1)

many thanks,
dom

Discussion

  • Vladimir Cirkovic

    Hi,

    thanks for letting us know. I've added this change to our backlog.

    Regards,
    Vladimir,
    www.eviware.com

     
  • Dominique Schneider

    thanks for the fast response.

    btw this ticket is a duplicate of 2832507
    p.s. obviously I meant 'solutions' not 'pollutions' ;)

     

Log in to post a comment.