From 873459a07fd8b4046397b38a36f196cb55c71370 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Tue, 11 May 2021 14:03:26 +0200 Subject: [PATCH] fix(emqx_ctl): ensure env variables are exported --- bin/emqx_ctl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/emqx_ctl b/bin/emqx_ctl index 73f2fc960..4c3aaa1ca 100755 --- a/bin/emqx_ctl +++ b/bin/emqx_ctl @@ -8,6 +8,9 @@ ROOT_DIR="$(cd "$(dirname "$(readlink "$0" || echo "$0")")"/..; pwd -P)" # shellcheck disable=SC1090 . "$ROOT_DIR"/releases/emqx_vars +export RUNNER_ROOT_DIR +export REL_VSN + # shellcheck disable=SC2012,SC2086 LATEST_VM_ARGS="$(ls -t $RUNNER_DATA_DIR/configs/vm.*.args | head -1)" if [ -z "$LATEST_VM_ARGS" ]; then