main/readlink

This commit is contained in:
Marc Beninca 2024-11-13 09:30:59 +01:00
parent 010cb76003
commit 40c151d69e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}")"