From b0af53749db6407bb96df1d2e943aa09d02b455a Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Mon, 5 Dec 2022 01:31:27 +0100 Subject: [PATCH] Meta: Switch to the Lagom directory before building fuzzers This confused quite a number of people in the past, and it is still slightly annoying to always switch the directory when testing both the OS and the fuzzer build. Instead, let's just switch to the correct directory automatically. --- Meta/Lagom/BuildFuzzers.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Meta/Lagom/BuildFuzzers.sh b/Meta/Lagom/BuildFuzzers.sh index 9b83b68f1f..7f005563fa 100755 --- a/Meta/Lagom/BuildFuzzers.sh +++ b/Meta/Lagom/BuildFuzzers.sh @@ -2,6 +2,9 @@ set -e +SCRIPT_PATH="$(dirname "${0}")" +cd "${SCRIPT_PATH}" + BEST_CLANG_CANDIDATE="" die() {