Skip to content

Use env to locate the bash binary - #18

Open
andriokha wants to merge 1 commit into
FreelyGive:mainfrom
FabbDev:env-shebang
Open

Use env to locate the bash binary#18
andriokha wants to merge 1 commit into
FreelyGive:mainfrom
FabbDev:env-shebang

Conversation

@andriokha

@andriokha andriokha commented Jul 23, 2026

Copy link
Copy Markdown

The Issue

Bash scripts assume bash is located at /bin/bash. I get errors from claude-update failing (it's run on the host).

How This PR Solves The Issue

Use env to locate bash. I've also updated commands/web/claude which isn't currently broken because it runs inside the container, but it's still a good practice.

Manual Testing Instructions

ddev add-on get https://github.com/FreelyGive/ddev-claude-code/tarball/refs/pull/18/head
ddev restart

Automated Testing Overview

Release/Deployment Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant