Merge pull request #358 from mrbald/patch-1

AMQ-7201 added shebang to generated broker admin script
This commit is contained in:
Jean-Baptiste Onofré 2019-08-19 19:32:22 +02:00 committed by GitHub
commit 84cc95c7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,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");