1 #!/usr/bin/env sh2 # 13_hardware — the built install binaries are a published surface too.3 set -eu4 root=$(CDPATH= cd -- "$(dirname -- "$0")/../../.." && pwd)5 target=${CARGO_TARGET_DIR:-$root/target}6 set --7 for binary in inf3r inf3r-web inf3r-probe; do8 [ -x "$target/release/$binary" ] && set -- "$@" --binary "$target/release/$binary"9 done10 [ "$#" -gt 0 ] || {11 echo "13_hardware: no release binaries to scan" >&212 exit 113 }14 "$root/ops/pii-hardware.sh" --report "$root/target/HARDWARE-GATE.bin.json" "$@"