diff --git a/bash/main.sh b/bash/main.sh index e9c0d27..bbfcc87 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -MAIN_USERS_FILE="$(realpath --canonicalize-existing "${0}")" +MAIN_USERS_FILE="$(realpath --canonicalize-existing "${BASH_SOURCE[0]}")" MAIN_USERS_ROOT="$(dirname "${MAIN_USERS_FILE}")"