mirror of https://github.com/apache/activemq.git
Merge pull request #358 from mrbald/patch-1
AMQ-7201 added shebang to generated broker admin script
This commit is contained in:
commit
84cc95c7ac
|
@ -272,6 +272,7 @@ public class CreateCommand extends AbstractCommand {
|
||||||
|
|
||||||
private String getUnixActivemqData() {
|
private String getUnixActivemqData() {
|
||||||
StringBuffer res = new StringBuffer();
|
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("## Figure out the ACTIVEMQ_BASE from the directory this script was run from\n");
|
||||||
res.append("PRG=\"$0\"\n");
|
res.append("PRG=\"$0\"\n");
|
||||||
res.append("progname=`basename \"$0\"`\n");
|
res.append("progname=`basename \"$0\"`\n");
|
||||||
|
|
Loading…
Reference in New Issue