From 8c4bfcfa059ddef0db59234333a4535f4dc6cfd3 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Mon, 10 Jun 2024 15:33:33 +0200 Subject: [PATCH] moved artifact dire to util --- scripts/bench.sh | 2 -- scripts/command-utils.sh | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bench.sh b/scripts/bench.sh index a8a47413666f..2f4ef7ec6a14 100755 --- a/scripts/bench.sh +++ b/scripts/bench.sh @@ -11,8 +11,6 @@ set -eu -o pipefail shopt -s inherit_errexit -ARTIFACTS_DIR="$PWD/.git/.artifacts" - # realpath allows to reuse the current BENCH_ROOT_DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")") diff --git a/scripts/command-utils.sh b/scripts/command-utils.sh index 01d764b7e522..252e4c86480e 100644 --- a/scripts/command-utils.sh +++ b/scripts/command-utils.sh @@ -6,6 +6,8 @@ else export LOADED_UTILS_SH=true fi +export ARTIFACTS_DIR="$PWD/.git/.artifacts" + die() { if [ "${1:-}" ]; then >&2 echo "$1"