0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 16:24:56 +01:00
mongodb/evergreen/local_client_logs_tar.sh

10 lines
224 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
cd src
client_logs=$(ls crud*.log fsm*.log 2>/dev/null)
if [ ! -z "$client_logs" ]; then
${tar} czf client-logs.tgz $client_logs
fi