From 4a192adf3db4ba476f9ffe534b45ff86e10f0e5e Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Mon, 12 Sep 2022 11:08:19 +0200 Subject: [PATCH] fix: rollback realpath, it's not a part of vanilla macos --- bin/emqx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/emqx b/bin/emqx index 3ce60dc27..20394b96f 100755 --- a/bin/emqx +++ b/bin/emqx @@ -7,7 +7,7 @@ set -euo pipefail DEBUG="${DEBUG:-0}" [ "$DEBUG" -eq 1 ] && set -x -RUNNER_ROOT_DIR="$(cd "$(dirname "$(realpath "$0" || echo "$0")")"/..; pwd -P)" +RUNNER_ROOT_DIR="$(cd "$(dirname "$(readlink "$0" || echo "$0")")"/..; pwd -P)" # shellcheck disable=SC1090,SC1091 . "$RUNNER_ROOT_DIR"/releases/emqx_vars