From c22e6d18ce3ecf9a7d79c1ae191c4a37eb514a13 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 13 Nov 2024 11:21:37 +0100 Subject: [PATCH] source --- bash/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")"