From 90d530fe1067ce9080c58fddc936904db90e361e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 20 May 2024 05:01:40 +0300 Subject: ilua-wrapper.sh: use realpath instead of readlink * should fix running from arbitrary directories --- ilua-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$@" -- cgit v1.2.3