Fix a couple bugs and enable the --debug flag for HEAD version.

master
Tim Caswell 2010-04-20 18:51:07 -05:00
parent 53e64fc3b5
commit 54495e56ae
1 changed files with 3 additions and 3 deletions

6
nvm.sh
View File

@ -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