mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-28 07:59:02 +01:00
f31a55b83d
GitOrigin-RevId: a6c0787658de3b23a00da7750c660f79c6cd8d1b
19 lines
558 B
Bash
19 lines
558 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
readonly k_cyrussasl_plugin_filename="cyrus_sasl_windows_test_plugin.dll"
|
|
readonly k_cyrussasl_plugin_dir="/cygdrive/c/CMU/bin/sasl2"
|
|
|
|
plugin_path="$(find . -name "*${k_cyrussasl_plugin_filename}")"
|
|
|
|
if [[ -z "$plugin_path" ]]; then
|
|
echo >&2 "Could not find ${k_cyrussasl_plugin_filename} from path '$(pwd)' !"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Configuring CyrusSASL plugin .dll from '$plugin_path'"
|
|
|
|
mkdir -p "$k_cyrussasl_plugin_dir"
|
|
|
|
cp "$plugin_path" "$k_cyrussasl_plugin_dir"
|