File size: 337 Bytes
3ba647a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/env bash
set -Eeuo pipefail
root="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
: "${HOST:=127.0.0.1}"
: "${PORT:=8080}"
: "${DATA_DIR:=/tmp/websitebench-apple-reference-data}"
: "${SEED:=0}"
: "${TZ:=UTC}"
export HOST PORT DATA_DIR SEED TZ
if [ ! -x "$root/executable" ]; then
"$root/compile.sh"
fi
exec "$root/executable"
|