This is an automated email from the ASF dual-hosted git repository.

heybales pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new d876ffd  fix output dir motification (#124)
d876ffd is described below

commit d876ffd6b6cdcbe308cc7d5b7f03e7831c573bef
Author: Helena Bales <[email protected]>
AuthorDate: Mon Dec 23 11:45:00 2019 -0800

    fix output dir motification (#124)
    
    modify output dir to be unique for running in CI
---
 infrastructure/scripts/aws/run_against_baseline.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/infrastructure/scripts/aws/run_against_baseline.sh 
b/infrastructure/scripts/aws/run_against_baseline.sh
index 87a202d..e24584d 100755
--- a/infrastructure/scripts/aws/run_against_baseline.sh
+++ b/infrastructure/scripts/aws/run_against_baseline.sh
@@ -153,7 +153,11 @@ if [ -z "${TAG}" ]; then
   exit 1
 fi
 
-OUTPUT=${OUTPUT:-output-${DATE}-${TAG}}
+if [ ! -z "${OUTPUT}" ]; then
+  OUTPUT="${OUTPUT}-"
+fi
+
+OUTPUT="${OUTPUT}output-${DATE}-${TAG}"
 
 set -x
 if ! [[ "$OUTPUT" = /* ]]; then

Reply via email to