bkiers / Liqp

An ANTLR based 'Liquid Template' parser and rendering engine.
MIT License
164 stars 93 forks source link

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

Closed kohlschuetter closed 8 months ago

kohlschuetter commented 8 months ago

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.