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 env to find bash #212

Closed
wants to merge 1 commit into from
Closed

Use env to find bash #212

wants to merge 1 commit into from

Conversation

rsmarples
Copy link
Contributor

On BSD platforms, there is a clear seperation between the OS and third party packages. Here, bash is a third party package so it won't be installed to /bin.

FreeBSD: /usr/local/bin/bash
NetBSD: /usr/pkg/bin/bash
OpenBSD: /usr/ports/bin/bash

As such, we need to use /usr/bin/env to launch these scripts.

BTW, I couldn't find any document of the tools required to build npm, but bash should probably be listed there somewhere.

and third party packages. Here, bash is a third party package so
it won't be installed to /bin.

FreeBSD:	/usr/local/bin/bash
NetBSD:		/usr/pkg/bin/bash
OpenBSD:	/usr/ports/bin/bash

As such, we need to use /usr/bin/env to launch these scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch semver patch level for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants