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 /usr/bin/env bash rather than /bin/bash #336

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

evantorrie
Copy link
Contributor

get_main_pkgs.sh uses 'mapfile' which is not available in Bash
versions earlier than 4.x. On machines where the default installed
bash is 3.x (OSX), this causes make precommit to break.

However, it's easy enough to install a recent version of
bash (e.g. via homebrew) in /usr/local/bin/bash. With
/usr/local/bin in your path, and /usr/bin/env bash as the shebang
line, this enables make precommit to pass with flying colors.

get_main_pkgs.sh uses 'mapfile' which is not available in Bash
versions earlier than 4.x. On machines where the default installed
bash is 3.x (OSX), this causes `make precommit` to break.

However, it's easy enough to install a recent version of
bash (e.g. via homebrew) in `/usr/local/bin/bash`. With
`/usr/local/bin` in your path, and `/usr/bin/env bash` as the shebang
line, this enables `make precommit` to pass with flying colors.
@jmacd
Copy link
Contributor

jmacd commented Nov 22, 2019

This is needed and not controversial.

@jmacd jmacd merged commit 6b63281 into open-telemetry:master Nov 22, 2019
@evantorrie evantorrie deleted the preferred-bash branch November 22, 2019 01:02
hstan referenced this pull request in hstan/opentelemetry-go Oct 15, 2020
* Update configure() to newConfig() per new style guide

* Update gocql newConfig to reflect correct type it initializes

Co-authored-by: Tyler Yahn <[email protected]>
@pellared pellared added this to the untracked milestone Nov 8, 2024
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