hgforest.sh can fail if sh is not bash

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 8
    • Affects Version/s: None
    • Component/s: infrastructure
    • b86
    • generic
    • generic
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved: