diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-09 09:24:48 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-09 09:40:36 -0700 |
commit | b2be3fa09df0c8e938a3729f9a952bf9cf812e9a (patch) | |
tree | d30f5e9935f1cb7d67340f2f049b801ea4675175 /scripts | |
parent | 69b6b127577e4d154f88c9af6c45571e5c33a68b (diff) | |
download | qtlocation-mapboxgl-b2be3fa09df0c8e938a3729f9a952bf9cf812e9a.tar.gz |
Install nvm using recommended method
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/node/install.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/node/install.sh b/scripts/node/install.sh index 26bf980027..f93ac88c29 100755 --- a/scripts/node/install.sh +++ b/scripts/node/install.sh @@ -14,12 +14,7 @@ if [ ${TRAVIS_OS_NAME} == "linux" ]; then fi if [ ! -d ~/.nvm ]; then - git clone https://github.com/creationix/nvm.git ~/.nvm - - pushd ~/.nvm - git fetch - git checkout `git describe --abbrev=0 --tags` - popd + curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash fi source ~/.nvm/nvm.sh |