Analyzed GitHub issue and related files.
UnderstandUpdated bash shebangs in multiple scripts.
EditCommitted and pushed changes to main branch.
BuildCommented on issue confirming the fix.
VerifyAnalyze GitHub issue(s): https://github.com/badlogic/pi-mono/issues/910
For each issue:
Read the issue in full, including all comments and linked issues/PRs.
For bugs:
For feature requests:
Do NOT implement unless explicitly asked. Analyze and propose only.
Type: Feature request (portability improvement)
Summary: Change shebangs from #!/bin/bash to #!/usr/bin/env bash for better portability across systems like NixOS where /bin/bash doesn't exist.
After scanning all .sh files in the repo, these 6 files need their shebang updated:
| File | Current |
|---|---|
packages/coding-agent/examples/extensions/doom-overlay/doom/build.sh | #!/bin/bash |
packages/coding-agent/scripts/migrate-sessions.sh | #!/bin/bash |
packages/mom/dev.sh | #!/bin/bash |
packages/mom/docker.sh | #!/bin/bash |
test.sh | #!/bin/bash |
scripts/build-binaries.sh - already uses #!/usr/bin/env bashpackages/pods/scripts/pod_setup.sh - already correctpackages/pods/scripts/model_run.sh - already correctpi-test.sh - already correct.husky/_/husky.sh - no shebang (deprecated/sourced file)packages/coding-agent/binaries/... - gitignored build artifactpackages/pods/dist/... - gitignored build outputSimple one-line change in each file: replace #!/bin/bash with #!/usr/bin/env bash.
This is a low-risk change that improves compatibility with non-standard Linux distributions and BSDs where bash may not be at /bin/bash.
do it, commit and push and write "Thanks, fixed in main" as a comment on the issue
Done. Updated 5 files, committed with Fixes #910 (auto-closes the issue), pushed to main, and commented on the issue.