mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 08:36:13 +00:00
Confirmed on real hardware: `VERSION=0.123.0 curl -sSL .../install.sh | sh` silently does NOT pin the version, despite the docs claiming it "works with pipe-to-sh". Shell variable-assignment prefixes only apply to the one command they're attached to; in a pipe each command is its own process, so the env var was set for `curl` (which never reads it) and never reached `sh` (which does). A real attempt to pin v0.123.0 for a #614 pure reproduction silently installed "latest" instead. Verified the fix with a minimal repro (VERSION=X cat file | sh vs. cat file | VERSION=X sh) before changing anything. Moves the VERSION= prefix onto sh -- the last command in the pipe, the one that actually reads it -- in ON-DEVICE-INSTALL-WALKTHROUGH.md (both occurrences), scripts/on-device-install/README.md, and scripts/on-device-install/install.sh's own header comment. RASPBERRY-PI.md/EXTERNAL-HOST-WALKTHROUGH.md's `sudo VERSION=x ... bash install.sh` pattern is unaffected -- that's a direct invocation, not a pipe, so the env var already reaches the right process there.