From 6666ec50ddfcad51d3cd45e805d4625e1760bacb Mon Sep 17 00:00:00 2001 From: Sean Mikha Date: Fri, 3 Feb 2017 12:27:41 -0800 Subject: [PATCH] Update runQueries.sh collectPerData.sh script assumes it is being executed from it's own local directory. You will get a error on running ../globalConfig.sh otherwise. This could also be changed by configuring collectPerfData.sh to use ./globalConfig.sh instead of ../globalConfig.sh however I do not know if there are other dependencies. --- bin/runQueries.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/runQueries.sh b/bin/runQueries.sh index 09f1404..4744849 100644 --- a/bin/runQueries.sh +++ b/bin/runQueries.sh @@ -67,7 +67,10 @@ do if ${COLLECT_PERFDATA}; then + curdir=${CURRENT_DIR} + cd ${CURRENT_DIR}/perfdatascripts/ ${CURRENT_DIR}/perfdatascripts/collectPerfData.sh ${RUN_ID} ${RESULTS_DIR} ${PERFDATA_OUTPUTDIR} >> ${RUN_LOG_FILE} + cd $curdir fi done