summaryrefslogtreecommitdiff
path: root/evergreen/local_client_logs_tar.sh
blob: dc8dc391c4619a3e009f87d9261b6a0b009abc2b (plain)
1
2
3
4
5
6
7
8
9
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