From 5ed8423e696661ca3d68bd8cae03108e408d26c9 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Tue, 1 Dec 2009 00:38:28 +0000 Subject: 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/qpid@885633 13f79535-47bb-0310-9956-ffa450edef68 --- java/testkit/bin/setenv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/testkit/bin') diff --git a/java/testkit/bin/setenv.sh b/java/testkit/bin/setenv.sh index 3ddb6b606f..0449ecffc7 100644 --- a/java/testkit/bin/setenv.sh +++ b/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 -- cgit v1.2.1