From 2c375458abd421a6d985506a286fdbc2fd9cbfbd Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 14 Oct 2021 09:44:16 +0200 Subject: [PATCH] export.sh: fix undefined reference to realpath after renaming --- export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.sh b/export.sh index d97dffb1ab..c09f8592bd 100644 --- a/export.sh +++ b/export.sh @@ -52,7 +52,7 @@ __main() { # shellcheck disable=SC2169,SC2169,SC2039 # unreachable with 'dash' if [[ "$OSTYPE" == "darwin"* ]]; then # convert possibly relative path to absolute - script_dir="$(realpath_int "${self_path}")" + script_dir="$(__realpath "${self_path}")" # resolve any ../ references to make the path shorter script_dir="$(cd "${script_dir}" || exit 1; pwd)" else