Skip to content

Instantly share code, notes, and snippets.

@polotek
Created April 20, 2010 01:21
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save polotek/371887 to your computer and use it in GitHub Desktop.
Save polotek/371887 to your computer and use it in GitHub Desktop.
diff --git a/nvm.sh b/nvm.sh
index 7aaac55..5536c6e 100644
--- a/nvm.sh
+++ b/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
@@ -51,7 +51,7 @@ nvm()
fi
cd "$NVM_DIR/src/node" && \
git pull --rebase origin master
- ./configure && \
+ ./configure --debug && \
make clean all && \
make install && \
nvm use HEAD
@@ -67,7 +67,7 @@ nvm()
wget "http://nodejs.org/dist/node-$2.tar.gz" -N && \
tar -xzf "node-$2.tar.gz" && \
cd "node-$2" && \
- ./configure --prefix="$NVM_DIR/$2" && \
+ ./configure --debug --prefix="$NVM_DIR/$2" && \
make && \
make install && \
nvm use $2
@@ -114,4 +114,4 @@ nvm()
nvm help
;;
esac
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment