cargo build --quiet swallowed compiler errors, and the subshell (...) didn't reliably propagate exit codes across bash versions. The script continued past a failed build, then ls/cp failed on the missing binary. Now: removed --quiet so errors are visible, explicit exit-code check with common-cause hints (build-essential, libc6-dev), and a secondary check that the binary actually exists before attempting to install it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4.7 KiB
Executable File
4.7 KiB
Executable File