main/readlink
This commit is contained in:
parent
010cb76003
commit
40c151d69e
1 changed files with 1 additions and 1 deletions
|
@ -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}")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue