-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
use env bash rather than /bin/bash #1004
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
Conversation
@tlevine Thanks - should this also be done in the install script? |
On FreeBSD it's not on But I think it should be done in the rest of files that uses |
I see but one more file that uses
To my surprise, when I change this to
I suggest that we merge the changes that I have already made before we deal with this last file. |
@tlevine what about |
@tlevine This approach should be used on the nvm script files too not just the test ones. So, here the files that still use
Thanks mate. |
Oh hah I was only looking at the tests.
In case anyone was curious, |
I sent the previous comment before reading Henrique's. On the other hand, I have now found two more uses of
|
Thanks! Just to comment about the So it's possible that a script that uses In my personal case, I always avoid use |
I ran the tests with different shells (with urchin's |
@tlevine thanks, this looks great! any chance you'd mind rebasing it on top of the latest master? |
My bash is not installed in /bin/bash.
Oops No chance I would mind I have rebased. |
Oh and I should note: Some tests in |
[Fix] use env bash rather than /bin/bash
My bash is not installed in /bin/bash.