0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-22 04:59:34 +01:00
mongodb/evergreen/functions/wiredtiger_develop_use.sh
2024-03-28 02:26:41 +00:00

16 lines
373 B
Bash
Executable File

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/../prelude.sh"
cd src
set -o errexit
set -o verbose
if [ "${use_wt_develop}" = "true" ]; then
echo "Using the wtdevelop module instead..."
cd src/third_party
for wtdir in dist examples ext lang src test tools; do
rm -rf wiredtiger/$wtdir
mv wtdevelop/$wtdir wiredtiger/
done
fi