You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ji...@apache.org on 2020/06/02 02:51:00 UTC
[rocketmq] branch develop updated: [ISSUE #1988] Fix the issue that
can not update messageDelay correctly with mqadmin updateBrokerConfig
command
This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 3f37c85 [ISSUE #1988] Fix the issue that can not update messageDelay correctly with mqadmin updateBrokerConfig command
3f37c85 is described below
commit 3f37c8515795db7c757a97df404589a1bdf4624e
Author: 真之棒 <13...@qq.com>
AuthorDate: Tue Jun 2 10:43:07 2020 +0800
[ISSUE #1988] Fix the issue that can not update messageDelay correctly with mqadmin updateBrokerConfig command
use "$@" instead of #@ to make mutiple value parceled by quoted
available.
(cherry picked from commit 03e8b03ba397063945a1619293f0a15579e4764d)
---
distribution/bin/mqadmin | 2 +-
distribution/bin/tools.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/distribution/bin/mqadmin b/distribution/bin/mqadmin
index cd0253b..980d6e3 100644
--- a/distribution/bin/mqadmin
+++ b/distribution/bin/mqadmin
@@ -42,4 +42,4 @@ fi
export ROCKETMQ_HOME
-sh ${ROCKETMQ_HOME}/bin/tools.sh org.apache.rocketmq.tools.command.MQAdminStartup $@
+sh ${ROCKETMQ_HOME}/bin/tools.sh org.apache.rocketmq.tools.command.MQAdminStartup "$@"
diff --git a/distribution/bin/tools.sh b/distribution/bin/tools.sh
index 071794c..a13dc7e 100644
--- a/distribution/bin/tools.sh
+++ b/distribution/bin/tools.sh
@@ -40,4 +40,4 @@ JAVA_OPT="${JAVA_OPT} -server -Xms1g -Xmx1g -Xmn256m -XX:MetaspaceSize=128m -XX:
JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${BASE_DIR}/lib:${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext"
JAVA_OPT="${JAVA_OPT} -cp ${CLASSPATH}"
-$JAVA ${JAVA_OPT} $@
+$JAVA ${JAVA_OPT} "$@"