From b11b9aac7515ce897c216b472770bf3cf4734847 Mon Sep 17 00:00:00 2001 From: mrbald Date: Mon, 13 May 2019 16:50:30 +0200 Subject: [PATCH] AMQ-7201 added shebang to generated broker admin script --- .../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 f9f0fb00a0..f5f339dd12 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 @@ -270,6 +270,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");