Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle kotlinc symbolic link for determining KOTLIN_DIR
Find the real path of `kotlinc` in case it is a symbolic link, ensuring that the correct compiler directory containing `kotlinc` is determined. Previously, it directly used `dirname` on the result of `command -v kotlinc`, which could have led to incorrect directory when `kotlinc` was a symbolic link, and as a result, not finding the `kotlin-stdlib.jar` latter in the script.
- Loading branch information