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

Allow running in bash on mac #133

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

michielbdejong
Copy link
Member

No description provided.

@michielbdejong michielbdejong merged commit c68e7b1 into main Sep 18, 2023
28 checks passed
@Potherca
Copy link
Member

This violates ShellChecks SC2006 imparative.

If $(...) command substitution does not work in an environment, we might be better served by resolving the environment instead of degrading the quality of the shell script.

For instance, MacOS has the tendency to ship older (outdated) versions of BASH (v3 or even v2).

This issue might be resolved by updating the used bash version.

@@ -21,8 +21,8 @@ function setup {
}

function teardown {
docker stop "$(docker ps --filter network=testnet -q)"
docker rm "$(docker ps --filter network=testnet -qa)"
docker stop `docker ps --filter network=testnet -q`
Copy link
Member

Choose a reason for hiding this comment

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

👎

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