mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00

All changes in this patch were performed automatically with `shfmt` with configuration flags specified in `.pre-commit-config.yaml`. In addition to fixing whitespace the roundtrip through shfmt's AST also transforms command substitutions `cmd` # becomes $(cmd) and some redirects >&2 echo "msg" # becomes echo >&2 "msg"
13 lines
367 B
Bash
Executable file
13 lines
367 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "Preparing FreeBSD environment"
|
|
sysctl hw.model hw.machine hw.ncpu
|
|
set -e
|
|
set -x
|
|
|
|
env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
|
pkg install -y bash git cmake swig bison python3 base64
|
|
pkg upgrade -y curl
|
|
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
|
pkg install -y $pyver-sqlite3 $pyver-pip
|
|
pip install junit2html
|