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

Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. #329

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

yesudeep
Copy link
Contributor

@yesudeep yesudeep commented Oct 22, 2021

Address #328
Should also help add a toolchain in rules_foreign_cc for FreeBSD: bazel-contrib/rules_foreign_cc#794

@google-cla google-cla bot added the cla: yes label Oct 22, 2021
@yesudeep yesudeep changed the title Use portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. Oct 22, 2021
@tetromino
Copy link
Collaborator

Seems reasonable; thanks for the patch.

FWIW, "/usr/bin/env bash" violates the current edition of Google's shell style guide, but if there's pushback, we can add a reverse patch to the Google-internal fork.

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.

2 participants