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

Replacing /usr/local/bin/forever with /usr/bin/env forever for better portability of script/server #40

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

pogil
Copy link

@pogil pogil commented Nov 22, 2016

For whatever reason on my system, forever is installed in /usr/bin/forever and not /usr/local/bin/forever. I hope this is a small and acceptable edit that will make harmony-api run easily for more users.

@maddox
Copy link
Owner

maddox commented Nov 22, 2016

I've run into this too recently. Maybe instead, just fetch the path with which?

@pogil
Copy link
Author

pogil commented Nov 22, 2016

That's essentially what /usr/bin/env is doing. If forever is in the path, it will find it and run it. Though it looks like /usr/local/bin isn't in the path for all use cases on OS X: ghooks-org/ghooks#30

@maddox
Copy link
Owner

maddox commented Nov 28, 2016

That's essentially what /usr/bin/env is doing.

Oh, I see. I was reading it wrong. Great! Thanks.

@maddox maddox merged commit d517d34 into maddox:master Nov 28, 2016
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