summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-08-27 08:36:40 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-08-27 09:47:27 -0400
commite86d0110125a5d6678d19aa691c1c4ea6a84d647 (patch)
treec1c9a98c326ac8d99902c36a430da9f9753cce7d /src/third_party
parent8143b34ed3ff6cb5eeecbc8f8cd9f009a82fe9c1 (diff)
downloadmongo-e86d0110125a5d6678d19aa691c1c4ea6a84d647.tar.gz
SERVER-36757 Generate and extract mongoebench-compatible JSON config files to consistent locations
Diffstat (limited to 'src/third_party')
-rwxr-xr-xsrc/third_party/scripts/mongo-perf_get_sources.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/scripts/mongo-perf_get_sources.sh b/src/third_party/scripts/mongo-perf_get_sources.sh
index a0b79b20d15..80f9d1bc07b 100755
--- a/src/third_party/scripts/mongo-perf_get_sources.sh
+++ b/src/third_party/scripts/mongo-perf_get_sources.sh
@@ -26,7 +26,7 @@ fi
NAME=mongo-perf
SRC_ROOT=$(mktemp -d /tmp/$NAME.XXXXXX)
trap "rm -rf $SRC_ROOT" EXIT
-DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/$NAME
+DEST_DIR=$(git rev-parse --show-toplevel)/benchrun_embedded/testcases
git clone --branch=master https://github.com/mongodb/mongo-perf.git $SRC_ROOT
@@ -55,6 +55,6 @@ find testcases -type f -print0 | xargs -0 -I% -n1 -P$NUM_CPUS \
popd
test -d $DEST_DIR && rm -r $DEST_DIR
-mkdir -p $DEST_DIR
+mkdir -p $(dirname $DEST_DIR)
-mv $SRC_ROOT/mongoebench/ $DEST_DIR/
+mv $SRC_ROOT/mongoebench $DEST_DIR