From 0749880ad1716c78dd8766b882eaa0aaf0a93770 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:34:48 -0500 Subject: [PATCH] Update gibMacOS.command --- gibMacOS.command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gibMacOS.command b/gibMacOS.command index d9812fc..09927e7 100755 --- a/gibMacOS.command +++ b/gibMacOS.command @@ -3,7 +3,7 @@ # Get the curent directory, the script name # and the script name with "py" substituted for the extension. args=( "$@" ) -dir="${0%/*}" +dir="$(cd -- "$(dirname "$0")" >/dev/null 2>&1; pwd -P)" script="${0##*/}" target="${script%.*}.py"