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

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 2.0.0.Final
    • Scripts
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: