mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
95875b4ec5
Apply automated fixes from shellcheck and shfmt to all shell scripts: - Quote variables to prevent word splitting and globbing - Use $(...) instead of backticks for command substitution - Add proper shebang and set -euo pipefail where missing - Fix array handling and iteration patterns - Consistent indentation (4 spaces) - Remove unnecessary curly braces and simplify expressions Files fixed: - deployment/*.sh - scripts/*.sh - orchestrator/scripts/*.sh - fuzzer_runner/runner.sh - protoc.sh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
288 B
Bash
Executable File
13 lines
288 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_DIR=$(dirname "$0")
|
|
|
|
if [ -d "$SCRIPT_DIR/.venv" ]; then
|
|
. "$SCRIPT_DIR/.venv/bin/activate"
|
|
else
|
|
echo "Virtual environment not found in $SCRIPT_DIR/.venv"
|
|
exit 1
|
|
fi
|
|
|
|
buttercup-fuzzer-runner "$@" # we use "$@" to pass all the arguments to the python script
|