You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "mxsm (via GitHub)" <gi...@apache.org> on 2023/02/07 09:44:30 UTC

[GitHub] [rocketmq] mxsm commented on issue #6006: mqbroker: 48: [[: not found

mxsm commented on issue #6006:
URL: https://github.com/apache/rocketmq/issues/6006#issuecomment-1420479127

   > 从 https://rocketmq.apache.org/download 上面下载了 5.0.0 的 Binary。 add 到 linux 后,使用 ./mqbroker 启动broker时出现: mqbroker: 48: [[: not found 的提示语。 检查了一下 mqbroker 源代码,发现48行是: `while [[ $# -gt 0 ]]; do` 这种格式的代码与sh不兼容,但是与bash兼容。所以,所以需要把 mqbroker 第一行改为 #!/bin/bash 就可以修复此bug啦。
   
   @bjsiyong 这bug在develop开发分支已经修复! 如果想体院Rocketmq5的功能,可以用develop分支进行打包!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org