From 02185be527e3a28eee8c82031e6d8ad6c6736916 Mon Sep 17 00:00:00 2001 From: Christian Posta Date: Wed, 24 Jul 2013 04:09:15 +0000 Subject: [PATCH] Fix for https://issues.apache.org/jira/browse/AMQ-4648 - fix script created by ./bin/activemq create to be able to pass command line args and run in the background git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506395 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/console/command/CreateCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fdb093873b..c2e6a099db 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 @@ -289,7 +289,7 @@ public class CreateCommand extends AbstractCommand { res.append("#export ACTIVEMQ_OPTS=\"$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties\"\n\n"); res.append("export ACTIVEMQ_HOME=${activemq.home}\n"); res.append("export ACTIVEMQ_BASE=$ACTIVEMQ_BASE\n\n"); - res.append("${ACTIVEMQ_HOME}/bin/activemq \"$*\""); + res.append("${ACTIVEMQ_HOME}/bin/activemq \"$@\""); return res.toString(); }