commit | dc9020b13347c23fd59669049c4596a94bdae683 | [log] [tgz] |
---|---|---|
author | Jordan Harband <ljharb@gmail.com> | Sun Feb 14 12:05:10 2016 -0800 |
committer | Jordan Harband <ljharb@gmail.com> | Sun Feb 14 12:05:10 2016 -0800 |
tree | 9adf8ca5c2148eaaaa665a4cb107c602437c1af6 | |
parent | 8a20234586646a242af08ea68a727314f36c9f39 [diff] | |
parent | 0eaa7e0bdedf2f2340c1cf4bd342da361abc2585 [diff] |
Merge pull request #1004 from tlevine/env-bash [Fix] use env bash rather than /bin/bash
diff --git a/install.sh b/install.sh index c1da5b5..27b6333 100755 --- a/install.sh +++ b/install.sh
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash { # this ensures the entire script is downloaded #
diff --git a/nvm-exec b/nvm-exec index e92d4aa..0d28870 100755 --- a/nvm-exec +++ b/nvm-exec
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
diff --git "a/test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" "b/test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" index d5fda3c..fcc4acb 100755 --- "a/test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" +++ "b/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 . ../../nvm.sh
diff --git "a/test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" "b/test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" index 4ac8b4b..3603e04 100755 --- "a/test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" +++ "b/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