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" && \ 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