Skip to content

fix(shebang): use more general shebang #!/usr/bin/env bash#747

Closed
sotte wants to merge 1 commit intoobra:mainfrom
sotte:generalize_shebang
Closed

fix(shebang): use more general shebang #!/usr/bin/env bash#747
sotte wants to merge 1 commit intoobra:mainfrom
sotte:generalize_shebang

Conversation

@sotte
Copy link
Contributor

@sotte sotte commented Mar 15, 2026

/bin/bash does not exist on all systems. /usr/bin/env bash is more general.

Motivation and Context

/bin/bash is not supported by all systems.

How Has This Been Tested?

I ran it :)

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

/bin/bash does not exist on all systems. `/usr/bin/env bash` is more
general.
@obra
Copy link
Owner

obra commented Mar 15, 2026

Closing as duplicate of #700, which covers the same change (#!/bin/bash → #!/usr/bin/env bash in all 13 shell scripts). #700 was first by 3 days and has been merged to dev. Thanks for the contribution!

@obra obra closed this Mar 15, 2026
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.

2 participants