Visitar URL original
Use `/usr/bin/env bash` instead of `/bin/bash` for GitHub CLI extensions shebang by kidonng · Pull Request #9962 · github/docs · GitHub
The Wayback Machine - https://web.archive.org/web/20260606015955/https://github.com/github/docs/pull/9962
Skip to content

Use /usr/bin/env bash instead of /bin/bash for GitHub CLI extensions shebang#9962

Merged
skedwards88 merged 2 commits into
github:mainfrom
kidonng:patch-2
Sep 23, 2021
Merged

Use /usr/bin/env bash instead of /bin/bash for GitHub CLI extensions shebang#9962
skedwards88 merged 2 commits into
github:mainfrom
kidonng:patch-2

Conversation

@kidonng
Copy link
Copy Markdown
Contributor

@kidonng kidonng commented Sep 10, 2021

Why:

Please refer to https://stackoverflow.com/a/16365367

This change has also been accepted by GitHub CLI: cli/cli#4203

What's being changed:

Use /usr/bin/env bash instead of /bin/bash in shebangs, for scripts geared towards GitHub CLI extensions. GitHub CLI is a cross-platform tool, the extensions should also be as portable as possible.

Check off the following:

  • I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
  • For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

  • This pull request impacts the contribution experience
    • I have added the 'writer impact' label
    • I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@welcome
Copy link
Copy Markdown

welcome Bot commented Sep 10, 2021

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Sep 10, 2021
@ramyaparimi ramyaparimi added content This issue or pull request belongs to the Docs Content team waiting for review Issue/PR is waiting for a writer's review and removed triage Do not begin working on this issue until triaged by the team labels Sep 13, 2021
@ramyaparimi
Copy link
Copy Markdown
Contributor

@kidonng
Thanks so much for opening a PR! I'll get this triaged for review ⚡

Copy link
Copy Markdown
Contributor

@skedwards88 skedwards88 left a comment

Choose a reason for hiding this comment

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

🚀 Thanks for the detailed reasoning in your cli/cli PR and for making this change to the docs! I'll get this merged down for you.

@skedwards88 skedwards88 enabled auto-merge (squash) September 23, 2021 19:20
@skedwards88 skedwards88 added the ready to merge This pull request is ready to merge label Sep 23, 2021
@github-actions github-actions Bot removed the waiting for review Issue/PR is waiting for a writer's review label Sep 23, 2021
@skedwards88 skedwards88 merged commit 500a0c0 into github:main Sep 23, 2021
@github-actions
Copy link
Copy Markdown
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡

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

Labels

content This issue or pull request belongs to the Docs Content team ready to merge This pull request is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants