From a3cbe60f1a63a54bd03ff0bbba3b7005bd1376e5 Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Fri, 15 Nov 2024 12:38:09 +0000 Subject: [PATCH] patch location --- tests/scripts/fdb_build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/scripts/fdb_build.sh b/tests/scripts/fdb_build.sh index df8cd5d90..d5c886ad0 100644 --- a/tests/scripts/fdb_build.sh +++ b/tests/scripts/fdb_build.sh @@ -5,6 +5,8 @@ FDB_VERSION=7.3.43 GCC_VERSION='11' CLANG_VERSION='16' BUILD_COMMAND='make -j2' +SCRIPT_LOCATION=$(dirname "$0") + . /etc/os-release @@ -194,7 +196,7 @@ unzip -q ${FDB_VERSION}.zip message "Patching sources" cd foundationdb-${FDB_VERSION} -patch -p1 -i ../mariadb_foundationdb-${FDB_VERSION}_gcc.patch +patch -p1 -i ${SCRIPT_LOCATION}/mariadb_foundationdb-${FDB_VERSION}_gcc.patch cd -