What changed, and why it matters
This commit is a minor documentation cleanup in Bitcoin Core's CI (continuous integration) README. It removes an unnecessary 'bash -c' wrapper from example shell commands, showing users they can pass environment variables directly to 'env' instead. There is no security-relevant change to the software itself.
No action needed. This is a documentation-only change with no security implications.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies only ci/README.md, replacing two example commands that used ‘env -i … bash -c “VAR=value ./script”’ with equivalent ‘env -i … VAR=value ./script’ forms. The behavior is functionally identical because ‘env’ already sets environment variables for the command it runs. No code, build scripts, or runtime logic is changed.
Changed components
ci/README.mdInspect captured patch +2 / −2
diff --git a/ci/README.md b/ci/README.md
index 9abfce14..293294a5 100644
--- a/ci/README.md
+++ b/ci/README.md
@@ -43,7 +43,7 @@ into the local CI.
To run the test stage with a specific configuration:
```
-env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh'
+env -i HOME="$HOME" PATH="$PATH" USER="$USER" FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh
```
## Configurations
@@ -62,7 +62,7 @@ It is also possible to force a specific configuration without modifying the
file. For example,
```
-env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'MAKEJOBS="-j1" FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh'
+env -i HOME="$HOME" PATH="$PATH" USER="$USER" MAKEJOBS="-j1" FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh
```
The files starting with `0n` (`n` greater than 0) are the scripts that are run
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.