|
|
@@ -289,7 +289,7 @@ compatiblity_info() {
|
|
|
-eval "$COMPATIBILITY_CHECK"
|
|
|
}
|
|
|
|
|
|
-# Collect Eralng/OTP runtime sanity and compatibility in one go
|
|
|
+# Collect Erlang/OTP runtime sanity and compatibility in one go
|
|
|
if [ "$IS_BOOT_COMMAND" = 'yes' ]; then
|
|
|
# Read BUILD_INFO early as the next commands may mess up the shell
|
|
|
BUILD_INFO="$(cat "${REL_DIR}/BUILD_INFO")"
|
|
|
@@ -514,7 +514,7 @@ generate_config() {
|
|
|
TMP_ARG_FILE="$CONFIGS_DIR/vm.args.tmp"
|
|
|
cp "$EMQX_ETC_DIR/vm.args" "$TMP_ARG_FILE"
|
|
|
echo "" >> "$TMP_ARG_FILE"
|
|
|
- echo "-pa ${REL_DIR}/consolidated" >> "$TMP_ARG_FILE"
|
|
|
+ echo "-pa \"${REL_DIR}/consolidated\"" >> "$TMP_ARG_FILE"
|
|
|
## read lines from generated vm.<time>.args file
|
|
|
## drop comment lines, and empty lines using sed
|
|
|
## pipe the lines to a while loop
|