Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Cross-platform readlink -f #3

@Potherca

Description

@Potherca

Various scripts in this repository use readlink with the -f flag to follow symlinks but this flag is not available under OSX. Using realpath could be an alternative but it does not come installed by default across systems. For OSX only, greadlink is available but platform specific calls should be avoided, also, it might not be installed and the user should not be forced to install anything (as the code from this repo should be as self-contained as possible).

The most viable alternative would be a pure shell implementation of realpath, added as a vendor script. Luckily such a thing exists.

It should be added and all offending scripts should be edited to use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions