You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2019/08/19 17:34:01 UTC
[activemq] branch activemq-5.15.x updated: AMQ-7201 added shebang
to generated broker admin script
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
new 5e8f296 AMQ-7201 added shebang to generated broker admin script
5e8f296 is described below
commit 5e8f296300c80a9cf4a516286cd5dbce688481f9
Author: mrbald <mr...@users.noreply.github.com>
AuthorDate: Mon May 13 16:50:30 2019 +0200
AMQ-7201 added shebang to generated broker admin script
---
.../src/main/java/org/apache/activemq/console/command/CreateCommand.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java b/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
index 2483527..f01dbbb 100644
--- a/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
+++ b/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
@@ -268,6 +268,7 @@ public class CreateCommand extends AbstractCommand {
private String getUnixActivemqData() {
StringBuffer res = new StringBuffer();
+ res.append("!/bin/sh\n\n");
res.append("## Figure out the ACTIVEMQ_BASE from the directory this script was run from\n");
res.append("PRG=\"$0\"\n");
res.append("progname=`basename \"$0\"`\n");