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

standalone.sh does not handle correctly situation when CDPATH environment variable is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • None
    • Scripts
    • None

      bin/standalone.sh does not use "shift" correctly when parsing commandline option, failing with "bin/standalone.sh: 34: shift: can't shift that many" if "--debug" without a parameter is used on dash (default shell in debian)

      Second issue is that the script does not handle correctly situation when CDPATH environment variable is set, failing completely.

      Attaching patch that fixes both these issues.

            tomazcerar Tomaž Cerar (Inactive)
            mplmc Martin Petricek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: