Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011350

hgforest.sh can fail if sh is not bash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 8
    • None
    • infrastructure
    • b86
    • generic
    • generic
    • Not verified

    Description

      Fixing JDK-8011342 revealed another occasional issue caused by evaluation of [ ] expressions involving -o or -a including !

      hgforest.sh works fine if the sh shell is bash but may otherwise fail.

      The fix is to replace -a, -o and ! expressions with explicit test.

      Attachments

        Activity

          People

            mduigou Mike Duigou
            mduigou Mike Duigou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: