Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5315

jboss-cli.sh compatibility problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 15.0.0.Beta1
    • CLI
    • None
    • Undefined

      Latest change made dur to https://issues.redhat.com/browse/WFCORE-5216 leads to an error for me on Solaris 10 SPARC:

      /mbi/tools/jboss/23.x/bin/jboss-cli.sh: syntax error at line 84: `JBOSS_MODULEPATH=$' unexpected

      Due to line 1 of the file /bin/sh is used for execution. 

      Using either /bin/ksh or /bin/bash solves this issue for me.

       

      Is the line 84 even needed ?

      Lines 45 - 47: if JBOSS_MODULEPATH is not set, it's set to default value.

      Line 66: in case of cygwin path is changed to window format

      Line 84: set value to itself? 

      From trace output (ksh -x):

      ++ eval echo '"/mbi/tools/jboss/23.x/modules"'
      +++ echo /mbi/tools/jboss/23.x/modules
      + JBOSS_MODULEPATH=/mbi/tools/jboss/23.x/modules

       

              jdenise@redhat.com Jean Francois Denise
              langfr Frank Langelage (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: