Fix a couple bugs and enable the --debug flag for HEAD version.
parent
53e64fc3b5
commit
54495e56ae
6
nvm.sh
6
nvm.sh
|
@ -38,7 +38,7 @@ nvm()
|
|||
cd "$NVM_DIR/src" && \
|
||||
git clone git://github.com/ry/node.git && \
|
||||
cd node && \
|
||||
./configure --prefix="$NVM_DIR/HEAD" && \
|
||||
./configure --debug --prefix="$NVM_DIR/HEAD" && \
|
||||
make && \
|
||||
make install && \
|
||||
nvm use HEAD
|
||||
|
@ -50,8 +50,8 @@ nvm()
|
|||
return;
|
||||
fi
|
||||
cd "$NVM_DIR/src/node" && \
|
||||
git pull --rebase origin master
|
||||
./configure && \
|
||||
git pull origin master && \
|
||||
./configure --debug --prefix="$NVM_DIR/HEAD" && \
|
||||
make clean all && \
|
||||
make install && \
|
||||
nvm use HEAD
|
||||
|
|
Loading…
Reference in New Issue