mirror of
https://github.com/LeeGaoGao/ECC.git
synced 2026-07-22 02:33:06 +00:00
When installed via `npm install ecc-universal`, the `ecc-install` bin entry creates a symlink from the package manager's bin directory to install.sh. The old `$(dirname "$0")` resolved to the bin directory instead of the actual package directory, causing `cp` to fail with "cannot stat '.../rules/common/.'". Now follows the symlink chain with readlink before resolving SCRIPT_DIR. Fixes #199
5.3 KiB
Executable File
5.3 KiB
Executable File