From 4a0d5c412e2bee6f4c72e0194fa5959cf94e5fb3 Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Wed, 15 Feb 2012 15:29:22 +0000 Subject: 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 and Philip Harvey git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244535 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/common/bin/qpid-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/java/common/bin') diff --git a/qpid/java/common/bin/qpid-run b/qpid/java/common/bin/qpid-run index ef4363e88b..1e373340ce 100755 --- a/qpid/java/common/bin/qpid-run +++ b/qpid/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 -- cgit v1.2.1