File size: 342 Bytes
6a65890
 
 
 
 
 
 
 
 
 
 
 
 
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-everyplate-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"