Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace readlink by builtin realpath #68

Merged
merged 1 commit into from
Jan 31, 2019
Merged

Replace readlink by builtin realpath #68

merged 1 commit into from
Jan 31, 2019

Conversation

aherrmann
Copy link
Member

readlink is not available or behaves differently on MacOS, so that _readlink fails on MacOS.

This change instead uses the realpath attribute on path objects, which also resolves all symlinks.

readlink is not available or behaves differently on MacOS, so that
`_readlink` fails on MacOS.

This change instead uses the `realpath` attribute on `path` objects,
which also resolves all symlinks.
@aherrmann aherrmann requested a review from mboes January 31, 2019 14:26
@mboes mboes merged commit 40b5a9f into master Jan 31, 2019
@mboes mboes deleted the fix-readlink branch January 31, 2019 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants