diff --git a/tests/scripts/fdb_build.sh b/tests/scripts/fdb_build.sh index dc496251c..5808c5129 100644 --- a/tests/scripts/fdb_build.sh +++ b/tests/scripts/fdb_build.sh @@ -6,6 +6,7 @@ GCC_VERSION='11' CLANG_VERSION='16' BUILD_COMMAND='make -j2' SCRIPT_LOCATION=$(dirname "$0") +SCRIPT_PATH=$(realpath $SCRIPT_LOCATION) . /etc/os-release @@ -196,10 +197,10 @@ unzip -q ${FDB_VERSION}.zip message "Patching sources" cd foundationdb-${FDB_VERSION} -ls ${SCRIPT_LOCATION} +ls ${SCRIPT_PATH} ls pwd -patch -p1 -i ${SCRIPT_LOCATION}/mariadb_foundationdb-${FDB_VERSION}_gcc.patch +patch -p1 -i ${SCRIPT_PATH}/mariadb_foundationdb-${FDB_VERSION}_gcc.patch cd -