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

Ubuntu running make == /bin/sh: 0: Illegal option -o pipefail (x3) make: *** [Makefile:22: help] Error 2 #101

Open
wade-welles opened this issue Jul 4, 2023 · 1 comment

Comments

@wade-welles
Copy link

/bin/sh: 0: Illegal option -o pipefail /bin/sh: 0: Illegal option -o pipefail /bin/sh: 0: Illegal option -o pipefail make: *** [Makefile:22: help] Error 2

I have build essential and make installed. Its a fresh version of Lunar Lobster. Using Python3 obvio Python 3.11.2 but that clearly is not the problem. The problem is with the make file compatibility. So the problem is with shell/bash scripts in the make file so my version of python is irrelevant.

If I end up fixing it, I will close the issue and make a pull request.

@RMPR
Copy link
Owner

RMPR commented Jul 4, 2023

The issue is in the Makefile indeed. I am using /bin/sh because on my development OS it's symlinked to bash. I guess on Lunar Lobster it should be symlinked to dash or something similar. I can accept a PR changing /bin/sh to /bin/bash that.

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

No branches or pull requests

2 participants