diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2009-12-01 00:38:28 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2009-12-01 00:38:28 +0000 |
commit | 5ed8423e696661ca3d68bd8cae03108e408d26c9 (patch) | |
tree | 33a9e928e90a63447f0f770a5f84c42a4f85cbfa | |
parent | d444d18618b4b72fd32a656dccf62d5bfc456538 (diff) | |
download | qpid-python-5ed8423e696661ca3d68bd8cae03108e408d26c9.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/qpid@885633 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/testkit/bin/setenv.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |