Skip to content

malformed test expressions in gradlew fail on bash 4.3.42 #2805

@travisfw

Description

@travisfw

The following errors print when executing gradlew on Fedora with Bash 4.3.42

./gradlew: line 67: [: -xPx: unary operator expected
./gradlew: line 73: [: -xPx: unary operator expected

These don't cause the script to fail because the false results from the tests are coincidentally correct, at least on my system. Still, the tests serve the function of determining the location of the java executable and they should do what they are written to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions