fix(freebsd): portable bash shebang (/usr/bin/env bash) #3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/freebsd-portable-bash-shebang"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#!/bin/bashdoes not resolve on FreeBSD — bash is at/usr/local/bin/bash, not/bin. The documented first-install command./setup-hermes.shwould fail with "bad interpreter: No such file or directory" on osa.Switches the FreeBSD-relevant bash scripts to
#!/usr/bin/env bash, which resolves the interpreter wherever it lives (FreeBSD, Linux, macOS):setup-hermes.sh— the FreeBSD first-validation entrypointscripts/install.sh,scripts/kill_modal.shscripts/install-freebsd.shis already#!/bin/sh(base shell), no change.Verified:
bash -npasses on all three. Harmless on Linux (env-based lookup finds/bin/bashthere too).🤖 Generated with Claude Code