Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer /usr/bin/env bash #124

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Prefer /usr/bin/env bash #124

merged 1 commit into from
Jul 26, 2022

Conversation

wpcarro
Copy link

@wpcarro wpcarro commented May 16, 2022

Instead of /bin/bash, which may help this script support slightly more
systems (e.g. NixOS), where /bin/bash doesn't exist.

Instead of `/bin/bash`, which may help this script support slightly more
systems (e.g. NixOS), where `/bin/bash` doesn't exist.
wpcarro added a commit to wpcarro/nixpkgs that referenced this pull request May 23, 2022
While awaiting this PR: buildkite/cli#124

TIL `patchShebangs` exists (ty @Steri)
@sj26
Copy link
Member

sj26 commented Jun 26, 2022

This script is only run by CI and shouldn't be used within the cli utility. Does this cause issues for you?

@wpcarro
Copy link
Author

wpcarro commented Jun 28, 2022

This script is only run by CI and shouldn't be used within the cli utility. Does this cause issues for you?

It's been awhile, so I forget which script was causing me issues, but I know at least one of them was.

I fixed this on the NixOS side of things, so this is less of a big deal IMO: NixOS/nixpkgs#173311

Copy link
Member

@pda pda left a comment

Choose a reason for hiding this comment

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

Seems reasonable 👍🏼
Good job working around it over in NixOS/nixpkgs#173311 😅

@pda pda merged commit a0b9a06 into buildkite:main Jul 26, 2022
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.

3 participants