blob: 5ef34c8af7991311d77db5fa26d6af09430c5879 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- scripts/prep-fle-addon.sh.orig 2024-10-28 16:25:21 UTC
+++ scripts/prep-fle-addon.sh
@@ -20,6 +20,7 @@ set -x
# This isn't a lot, but hopefully after https://jira.mongodb.org/browse/WRITING-7164
# we'll be able to simplify this further.
+if [ `uname` != FreeBSD ]; then
cd "$(dirname "$0")"/..
MONGOSH_ROOT_DIR="$PWD"
BUILDROOT="$MONGOSH_ROOT_DIR"/tmp/fle-buildroot
@@ -77,4 +78,5 @@ if [ x"$FLE_NODE_SOURCE_PATH" != x"" ]; then
cp -rv ./deps/lib*/*-static* "$FLE_NODE_SOURCE_PATH"/deps/lib
cp -rv ./deps/include/*kms* "$FLE_NODE_SOURCE_PATH"/deps/include
cp -rv ./deps/include/*mongocrypt* "$FLE_NODE_SOURCE_PATH"/deps/include
+fi
fi
|