summaryrefslogtreecommitdiff
path: root/java/common
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2012-02-15 15:29:22 +0000
committerKeith Wall <kwall@apache.org>2012-02-15 15:29:22 +0000
commitceca332cd78cb9c990c8c67d131970f8015700a2 (patch)
treee1aa9c4d1ba1a74de415de43805b57a7cfcb482a /java/common
parente9f31d216bd6655fa0fb9728411dbe5e0f0a7778 (diff)
downloadqpid-python-ceca332cd78cb9c990c8c67d131970f8015700a2.tar.gz
QPID-3840: corrected qpid-passwd and qpid-run to handle paths with spaces in them. Modified unit test to capture stderr to aid diagnosis of failures.
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common')
-rwxr-xr-xjava/common/bin/qpid-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/common/bin/qpid-run b/java/common/bin/qpid-run
index ef4363e88b..1e373340ce 100755
--- a/java/common/bin/qpid-run
+++ b/java/common/bin/qpid-run
@@ -110,7 +110,7 @@ fi
log $INFO System Properties set to ${SYSTEM_PROPS[@]}
log $INFO QPID_OPTS set to $QPID_OPTS
-program=$(basename $0)
+program=$(basename "$0")
sourced=${BASH_SOURCE[0]}
if [[ -z ${sourced:-''} ]]; then
sourced=$(which qpid-run) || ${QPID_HOME}/bin/qpid-run