0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 08:30:56 +01:00
mongodb/evergreen/functions/tmp_directory_umount.sh
2023-08-22 01:18:10 +00:00

10 lines
256 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/../prelude.sh"
set -o errexit
set -o verbose
# LTO compiles create a bind mount to circumvent disk space limitations. This is a cleanup step.
set_sudo
$sudo umount /tmp || true