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

ruby: run_with*.sh should use realpath for shared folder #292

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

kohlschuetter
Copy link
Contributor

On macOS, the Docker app uses the canonical path (symlinks resolved) for shared folders.

This prevents sharing the directory containing the ruby scripts if the path of the current working directory contains any directory symlinks.

Use realpath instead of pwd in these scripts, falling back to using pwd when realpath is not available.

On macOS, the Docker app uses the canonical path (symlinks resolved) for
shared folders.

This prevents sharing the directory containing the ruby scripts if the
path of the current working directory contains any directory symlinks.

Use realpath instead of pwd in these scripts, falling back to using pwd
when realpath is not available.
@msangel msangel merged commit dc26d00 into bkiers:master Dec 27, 2023
4 checks passed
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.

2 participants