replace tabs with spaces
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/55c809b1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/55c809b1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/55c809b1 Branch: refs/heads/master Commit: 55c809b15efdc0b65c2a20605931881d3ddab5f5 Parents: 5272458 Author: Till Westmann <[email protected]> Authored: Fri Apr 4 00:11:01 2014 -0700 Committer: Till Westmann <[email protected]> Committed: Fri Apr 4 00:11:01 2014 -0700 ---------------------------------------------------------------------- .../noaa-ghcn-daily/scripts/run_benchmark.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/55c809b1/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh old mode 100644 new mode 100755 index f283cba..036f697 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_benchmark.sh @@ -34,13 +34,13 @@ fi for j in $(find ${1} -name '*q??.xq') do - if [ -z "${3}" ] || [[ "${j}" =~ "${3}" ]] - then - echo "Running query: ${j}" - log_file="$(basename ${j}).$(date +%Y%m%d).log" - log_base_path=$(dirname ${j/queries/query_logs}) - mkdir -p ${log_base_path} - time sh ./vxquery-cli/target/appassembler/bin/vxq ${j} ${2} -timing -showquery -frame-size 10000 -repeatexec 10 > ${log_base_path}/${log_file} 2>&1 - fi; + if [ -z "${3}" ] || [[ "${j}" =~ "${3}" ]] + then + echo "Running query: ${j}" + log_file="$(basename ${j}).$(date +%Y%m%d).log" + log_base_path=$(dirname ${j/queries/query_logs}) + mkdir -p ${log_base_path} + time sh ./vxquery-cli/target/appassembler/bin/vxq ${j} ${2} -timing -showquery -frame-size 10000 -repeatexec 10 > ${log_base_path}/${log_file} 2>&1 + fi; done
