diff --git a/bash/main.sh b/bash/main.sh index 44c3910..63d91f2 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -MAIN_SHELL_FILE="$(realpath "${BASH_SOURCE[0]}")" +MAIN_SHELL_FILE="$(readlink --canonicalize-existing "${0}")" MAIN_SHELL_ROOT="$(dirname "${MAIN_SHELL_FILE}")"