AgPerry's picture
Add files using upload-large-folder tool
9d4a3b0 verified
Raw History Blame Contribute Delete
325 Bytes
#!/usr/bin/env bash
set -Eeuo pipefail
root="${WEBSITEBENCH_BUILD_ROOT:-$PWD}"
case "$root" in /*) ;; *) echo 'WEBSITEBENCH_BUILD_ROOT must be absolute' >&2; exit 2;; esac
test "$PWD" = "$root"
test ! -e "$root/standalone"
python3 "$root/unpack.py"
cp "$root/run-candidate.sh" "$root/executable"
chmod 755 "$root/executable"