summaryrefslogtreecommitdiff
path: root/qpid/java/testkit/bin
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-12-01 00:38:28 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-12-01 00:38:28 +0000
commit5f558a1410bd37832ea846857d9d15f1fb017d42 (patch)
tree3f23b24f5acc9a429d3c5c2e3633d372eee865eb /qpid/java/testkit/bin
parent4c676e1dfd9e3379e9b150c5cb63fc77e2889f44 (diff)
downloadqpid-python-5f558a1410bd37832ea846857d9d15f1fb017d42.tar.gz
Modified the script to use absoulte paths when creating the classpath as relative paths could create issues when running the script in automated build environments.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@885633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/testkit/bin')
-rw-r--r--qpid/java/testkit/bin/setenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/testkit/bin/setenv.sh b/qpid/java/testkit/bin/setenv.sh
index 3ddb6b606f..0449ecffc7 100644
--- a/qpid/java/testkit/bin/setenv.sh
+++ b/qpid/java/testkit/bin/setenv.sh
@@ -42,7 +42,8 @@ if [ "$CLUSTER_LIB" = "" ] ; then
fi
if [ "$QP_CP" = "" ] ; then
- QP_CP=`find ../../build/lib/ -name '*.jar' | tr '\n' ':'`
+ QP_JAR_PATH=`abs_path "../../build/lib/"`
+ QP_CP=`find $QP_JAR_PATH -name '*.jar' | tr '\n' ':'`
fi
if [ "$OUTDIR" = "" ] ; then