bridgetest.sh 163 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e

SITE="${1:?}"

dirname="$PWD"
logdirname="log/$SITE/$(date -u +%Y%m%d-%H%M)"
mkdir -p "$logdirname"
cd "$logdirname" && "$dirname/bridgetest"