From f0db386238248639944d221002765ababa5fef13 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:34:28 -0500 Subject: [PATCH] Update BuildmacOSInstallApp.command --- BuildmacOSInstallApp.command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildmacOSInstallApp.command b/BuildmacOSInstallApp.command index d9812fc..09927e7 100755 --- a/BuildmacOSInstallApp.command +++ b/BuildmacOSInstallApp.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"