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" && \
|
cd "$NVM_DIR/src" && \
|
||||||
git clone git://github.com/ry/node.git && \
|
git clone git://github.com/ry/node.git && \
|
||||||
cd node && \
|
cd node && \
|
||||||
./configure --prefix="$NVM_DIR/HEAD" && \
|
./configure --debug --prefix="$NVM_DIR/HEAD" && \
|
||||||
make && \
|
make && \
|
||||||
make install && \
|
make install && \
|
||||||
nvm use HEAD
|
nvm use HEAD
|
||||||
|
@ -50,8 +50,8 @@ nvm()
|
||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
cd "$NVM_DIR/src/node" && \
|
cd "$NVM_DIR/src/node" && \
|
||||||
git pull --rebase origin master
|
git pull origin master && \
|
||||||
./configure && \
|
./configure --debug --prefix="$NVM_DIR/HEAD" && \
|
||||||
make clean all && \
|
make clean all && \
|
||||||
make install && \
|
make install && \
|
||||||
nvm use HEAD
|
nvm use HEAD
|
||||||
|
|
Loading…
Reference in New Issue