From 75c8577b6b6a54febf5545122d271ee61eae55dd Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Fri, 19 May 2023 18:56:12 +0200 Subject: [PATCH] build(./dev): export SCHEMA_MOD SCHEMA_MOD is used at runtime in EMQX Erlang code whenc loading configuration --- dev | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev b/dev index 3ac8cb5c7..0b16f0082 100755 --- a/dev +++ b/dev @@ -131,10 +131,10 @@ export PROFILE case "${PROFILE}" in emqx) - SCHEMA_MOD='emqx_conf_schema' + export SCHEMA_MOD='emqx_conf_schema' ;; emqx-enterprise) - SCHEMA_MOD='emqx_ee_conf_schema' + export SCHEMA_MOD='emqx_ee_conf_schema' ;; esac @@ -329,11 +329,10 @@ boot() { copy_other_conf_files APPS="$(apps_to_load)" - BOOT_SEQUENCE=" Apps=[${APPS}], ok=lists:foreach(fun application:load/1, Apps), - io:format(user, \"~nLoaded ~p apps~n\", [length(Apps)]), + io:format(user, \"~nLoaded: ~p~n\", [Apps]), {ok, _} = application:ensure_all_started(emqx_machine). "