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 /bin/sh instead of /bin/bash #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use /bin/sh instead of /bin/bash #47

wants to merge 1 commit into from

Conversation

mkhon
Copy link

@mkhon mkhon commented Oct 26, 2018

Alpine Linux docker images do not have /bin/bash.
/bin/sh (which is usually a Korn Shell) is enough for pg_monz scripts.

@pengbo0328
Copy link
Contributor

pg_monz needs /bin/bash environment and doesn't support /bin/sh.

@mkhon
Copy link
Author

mkhon commented Nov 2, 2018

I believe I fixed all the places where bash'isms were used so the scripts can now be used as is on

  • Alpine Linux
  • Debian/Ubuntu minimal (without bash)
  • *BSD (FreeBSD, NetBSD, OpenBSD)

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