Skip to content

Bash test nested incorrectly; leads to syntax error #802

@bicobus

Description

@bicobus

Offending line:

if [ "$distro" == "Mac OS X" || "$distro" == "macOS" ]; then

[ is an alias for test, as such it doesn't support logical OR operations. The line should be rewritten to use [[ instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions