mirror of
https://github.com/apache/activemq.git
synced 2025-02-21 01:15:24 +00:00
AMQ-7201 added shebang to generated broker admin script
This commit is contained in:
parent
c346dbaf5c
commit
5e8f296300
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user