Resolve the real path when invoking philomena.sh to remove some intermediate .. in error messages that feature the script path

This commit is contained in:
MareStare 2025-04-06 20:43:27 +00:00
parent 0c0376b26e
commit a3f5191b9c

View file

@ -2,4 +2,4 @@
# Small wrapper for `scripts/philomena.sh` that lives in a separate `path`
# directory so that it is safe to add it to your `$PATH` without extra pollution.
exec "$(dirname "${BASH_SOURCE[0]}")/../philomena.sh" "$@"
exec "$(realpath "$(dirname "${BASH_SOURCE[0]}")/../philomena.sh")" "$@"