Files
mongo/evergreen/functions/files_remove.sh
Zack Winter 7ccc14bf91 SERVER-101034 Use rules_lint shfmt formatter (#38448)
GitOrigin-RevId: e8ef1ba2000e12fa2cd5a115a9ceeab92332e938
2025-07-16 01:55:34 +00:00

13 lines
253 B
Bash
Executable File

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
. "$DIR/../prelude.sh"
if [ -z "${files}" ]; then
exit 0
fi
for file in ${files}; do
if [ -f "$file" ]; then
echo "Removing file $file"
rm -f $file
fi
done