Skip to content

real_path '' behaves differently on macOS #402

@scott-vsi

Description

@scott-vsi

On macOS, real_path '' outputs $PWD/ (with a slash appended); whereas realpath actual (which real_path uses when it's available) errors with:

$ real_path ''
realpath: '': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions