Skip to content

Commit

Permalink
fix install scripts for nvm (lynckia#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkokk authored and lodoyun committed Dec 15, 2016
1 parent 159d45c commit e49d419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion nuve/installNuve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ NVM_CHECK="$ROOT"/scripts/checkNvm.sh
BUILD_DIR=$ROOT/build
CURRENT_DIR=`pwd`
DB_DIR="$BUILD_DIR"/db
NODE_VERSION=`node -v`

. $NVM_CHECK

Expand Down
4 changes: 4 additions & 0 deletions scripts/installErizo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ BUILD_DIR=$ROOT/build
CURRENT_DIR=`pwd`
LIB_DIR=$BUILD_DIR/libdeps
PREFIX_DIR=$LIB_DIR/build/
NVM_CHECK="$PATHNAME"/checkNvm.sh


export ERIZO_HOME=$ROOT/erizo

Expand Down Expand Up @@ -57,6 +59,8 @@ install_erizo(){
install_erizo_api(){
echo 'Installing erizoAPI...'
cd $ROOT/erizoAPI
. $NVM_CHECK
cd $ROOT/erizoAPI
npm install [email protected]
./build.sh
check_result $?
Expand Down

0 comments on commit e49d419

Please sign in to comment.