From c4a3a9b2fccb84e146693fc4bda97f2cb553caac Mon Sep 17 00:00:00 2001 From: cheddar Date: Mon, 10 Jun 2013 11:53:57 -0700 Subject: [PATCH] 1) Fix scripts to run the examples from a fresh build --- examples/bin/run_example_server.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/bin/run_example_server.sh b/examples/bin/run_example_server.sh index c61b3316bc7..e2cc076ce9c 100755 --- a/examples/bin/run_example_server.sh +++ b/examples/bin/run_example_server.sh @@ -55,11 +55,11 @@ JAVA_ARGS="${JAVA_ARGS} -Ddruid.realtime.specFile=${SPEC_FILE}" DRUID_CP=${EXAMPLE_LOC} #For a pull -DRUID_CP=${DRUID_CP}:`ls ../target/druid-examples-*-selfcontained.jar` -DRUID_CP=${DRUID_CP}:../config +DRUID_CP=${DRUID_CP}:`ls ${SCRIPT_DIR}/../target/druid-examples-*-selfcontained.jar` +DRUID_CP=${DRUID_CP}:${SCRIPT_DIR}/../config #For the kit -DRUID_CP=${DRUID_CP}:`ls ./lib/druid-examples-*-selfcontained.jar` -DRUID_CP=${DRUID_CP}:./config +DRUID_CP=${DRUID_CP}:`ls ${SCRIPT_DIR}/lib/druid-examples-*-selfcontained.jar` +DRUID_CP=${DRUID_CP}:${SCRIPT_DIR}/config echo "Running command:"