Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #247 from LiskHQ/225-nvm_fail
Browse files Browse the repository at this point in the history
Fix nvm failure in toolchain/installLinux.sh - Closes #225
  • Loading branch information
karmacoma authored Dec 19, 2017
2 parents 03ab504 + 6a1890b commit e878764
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions toolchains/install_linux.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
#
#
# LiskHQ/lisk-build
# Copyright (C) 2017 Lisk Foundation
#
Expand Down Expand Up @@ -32,5 +32,8 @@ CMDS=("apt-get" "curl" "sudo")
check_cmds CMDS[@]

exec_cmd "curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash"
exec_cmd "nvm install v6.12.2"
export NVM_DIR="/home/$USER/.nvm"
# shellcheck source=/dev/null
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install v6.12.2
exec_cmd "sudo apt-get install -y autoconf automake build-essential curl chrpath git libreadline6-dev libtool zlib1g-dev libssl-dev libpq-dev nodejs python wget libncurses5-dev"

0 comments on commit e878764

Please sign in to comment.