diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-09-14 09:51:36 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-09-14 09:51:36 +0000 |
| commit | 0e506885c10264a830bea83fa71afd5dbc7df0c4 (patch) | |
| tree | a667421569383392a7947529f1427015b5ec298d /qpid/java/common/bin | |
| parent | 7162da84ecd2b70c54a895c1530d30af84e981a0 (diff) | |
| download | qpid-python-0e506885c10264a830bea83fa71afd5dbc7df0c4.tar.gz | |
QPID-2099 : Updated qpid-run to use QPID_PNAME as the value for the system property -DPNAME="".
Ensured value is quoted to allow spaces in QPID_PNAME. i.e QPID_PNAME="Production Broker"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/bin')
| -rwxr-xr-x | qpid/java/common/bin/qpid-run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/common/bin/qpid-run b/qpid/java/common/bin/qpid-run index 0b5070d937..e171f91297 100755 --- a/qpid/java/common/bin/qpid-run +++ b/qpid/java/common/bin/qpid-run @@ -59,7 +59,7 @@ fi #Set to help us get round the manifold problems of ps/pgrep on various #platforms which gather up to prevent qpid_stop from working ..... if [ -z "$QPID_PNAME" ]; then - export QPID_PNAME=" -DPNAME=QPBRKR" + export QPID_PNAME="QPBRKR" fi if [ -z "$QPID_HOME" ]; then @@ -259,6 +259,6 @@ if $cygwin; then JAVA=$(cygpath -u $JAVA) fi -COMMAND=($JAVA $JAVA_VM $QPID_PNAME $JAVA_GC $JAVA_MEM $SYSTEM_PROPS $JAVA_OPTS $QPID_OPTS "${JAVA_ARGS[@]}") +COMMAND=($JAVA $JAVA_VM -DPNAME=\"$QPID_PNAME\" $JAVA_GC $JAVA_MEM $SYSTEM_PROPS $JAVA_OPTS $QPID_OPTS "${JAVA_ARGS[@]}") DISPATCH |
