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 | 560bc6be9e3a898c51f2e65221680abbafb4d2c0 (patch) | |
| tree | 9ac26581cc9cf142d88a9d256a3c1205ac20bdb5 /java/common | |
| parent | f7e35a0c0002e1984bf4a19eb2f59ff6f2eb9857 (diff) | |
| download | qpid-python-560bc6be9e3a898c51f2e65221680abbafb4d2c0.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/qpid@814544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common')
| -rwxr-xr-x | java/common/bin/qpid-run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/common/bin/qpid-run b/java/common/bin/qpid-run index 0b5070d937..e171f91297 100755 --- a/java/common/bin/qpid-run +++ b/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 |
