Skip to content

Commit dc9020b

Browse files
committed
Merge pull request #1004 from tlevine/env-bash
[Fix] use env bash rather than /bin/bash
2 parents 8a20234 + 0eaa7e0 commit dc9020b

4 files changed

+4
-4
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
{ # this ensures the entire script is downloaded #
44

nvm-exec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
export NVM_SYMLINK_CURRENT=true
44
. ../../nvm.sh

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
. ../../nvm.sh
44

0 commit comments

Comments
 (0)