AMQ-7201 added shebang to generated broker admin script

This commit is contained in:
mrbald 2019-05-13 16:50:30 +02:00 committed by GitHub
parent 23f0b1476c
commit b11b9aac75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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");