diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-20 05:01:40 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-20 05:01:40 +0300 |
commit | 90d530fe1067ce9080c58fddc936904db90e361e (patch) | |
tree | dcfc2faddd6bc3a40dbca1ef6b40b67175209995 | |
parent | d250c71b79881bf949dc0bbd9e4df42bd2dabf4a (diff) | |
download | applause2-90d530fe1067ce9080c58fddc936904db90e361e.tar.gz |
ilua-wrapper.sh: use realpath instead of readlink
* should fix running from arbitrary directories
-rwxr-xr-x | ilua-wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ilua-wrapper.sh b/ilua-wrapper.sh index 51bf382..d635445 100755 --- a/ilua-wrapper.sh +++ b/ilua-wrapper.sh @@ -4,5 +4,5 @@ # Also, it's useful as you do not have to change the directory before invoking ILua. # Thirdly, if you create a symbolic link to lua in a Python environment of ILua, this invoke # Applause by default and it will even work with Jupyter Notebooks without further tweaks. -cd $(dirname $(readlink "$0")) +cd $(dirname $(realpath "$0")) exec ./applause $APPLAUSE_OPTS "$@" |