Skip to content

fix(commands): use /usr/bin/env bash in web console command - #8182

Merged
rfay merged 1 commit into
mainfrom
20260226-update-shebang-in-command
Mar 2, 2026
Merged

rfay merged 1 commit into
mainfrom
20260226-update-shebang-in-command

Conversation

@tyler36

@tyler36 tyler36 commented Feb 26, 2026 •

Copy link
Copy Markdown
Collaborator

The Issue

How This PR Solves The Issue

Update the shebang in the web console command to use /usr/bin/env bash for better portability across different environments.

At the time of submission, this PR only addresses the global commands folder (~/.ddev/commands). DDEV internal scripts are not updated.

Manual Testing Instructions

  1. Create a new DDEV project
  2. Check DDEV-managed commands in ~/.ddev/commands do not contain #!/bin/bash

Automated Testing Overview

Release/Deployment Notes

@tyler36
tyler36 requested a review from a team as a code owner February 26, 2026 00:48
@github-actions

Copy link
Copy Markdown

@rfay

rfay commented Feb 26, 2026

Copy link
Copy Markdown
Member

So there was exactly one?

@tyler36

tyler36 commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator Author

So there was exactly one?

That I saw, but OP might have custom commands or outdated addon commands in their setup. 🤷

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how this survived here! Thanks!

@rfay
rfay merged commit 9f32859 into main Mar 2, 2026
34 of 35 checks passed
@rfay
rfay deleted the 20260226-update-shebang-in-command branch March 2, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace #!/bin/bash with #!/usr/bin/env bash in scripts

2 participants