mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-25 09:19:32 +01:00
7657e615d2
It has been a pleasure working here and quite the wild ride. Good luck everyone.
28 lines
557 B
Bash
Executable File
28 lines
557 B
Bash
Executable File
#!/bin/bash
|
|
# Script to setup charybdefs
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
if [ "$#" -ne 0 ]; then
|
|
echo "This script does not take any arguments"
|
|
exit 1
|
|
fi
|
|
|
|
echo Start - charybdefs_setup.sh
|
|
|
|
cd /data
|
|
|
|
rm -rf /data/charybdefs
|
|
rm -rf /data/thrift
|
|
|
|
# Use the mongo branch and fork from here
|
|
git clone -b mongo_42 https://github.com/markbenvenuto/charybdefs.git
|
|
|
|
# Run the build script in the mongo branch
|
|
cd charybdefs/mongo
|
|
|
|
# Build and setup thrift and charybdefs
|
|
PATH=/opt/mongodbtoolchain/v4/bin:$PATH bash ./build.sh
|
|
|
|
echo Done - charybdefs_setup.sh
|