diff --git a/server/bin/check-project-config.sh b/server/bin/check-project-config.sh index 8b3c281..764facc 100755 --- a/server/bin/check-project-config.sh +++ b/server/bin/check-project-config.sh @@ -26,6 +26,14 @@ set -uo pipefail cd "$(dirname "$0")/../.." || exit 1 + +# claude lives behind a PATH that Ubuntu's ~/.bashrc builds only for an +# interactive shell — it returns on its first line otherwise — so a plain +# `ssh flit ...` and a systemd timer both reach a shell that cannot find it. +# Set it explicitly, exactly as verify.sh and job-wrapper.sh do for the same +# reason (§13.2, environment). +export PATH="$HOME/.local/bin:$HOME/.local/share/mise/shims:$HOME/.cargo/bin:$HOME/.local/share/pnpm/bin:$PATH" + # shellcheck source=lib/common.sh source lib/common.sh