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