Browse Source

Merge pull request #1004 from tlevine/env-bash

[Fix] use env bash rather than /bin/bash
Jordan Harband 9 years ago
parent
commit
dc9020b133
  1. 2
      install.sh
  2. 2
      nvm-exec
  3. 2
      test/fast/Running "nvm use x" should create and change the "current" symlink
  4. 2
      test/fast/Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false

2
install.sh

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
{ # this ensures the entire script is downloaded # { # this ensures the entire script is downloaded #

2
nvm-exec

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

2
test/fast/Running "nvm use x" should create and change the "current" symlink

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
export NVM_SYMLINK_CURRENT=true export NVM_SYMLINK_CURRENT=true
. ../../nvm.sh . ../../nvm.sh

2
test/fast/Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
. ../../nvm.sh . ../../nvm.sh

Loading…
Cancel
Save