Created
April 16, 2011 20:08
-
-
Save Jxck/923440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 87a1eb5c64fb14cc3d548b67337ae4ba37635233 Mon Sep 17 00:00:00 2001 | |
From: Jxck <block.rxckin.beats@gmail.com> | |
Date: Sun, 17 Apr 2011 05:05:07 +0900 | |
Subject: [PATCH] mod curl progress-bar option | |
--- | |
nvm.sh | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/nvm.sh b/nvm.sh | |
index 6f107ec..1e10915 100644 | |
--- a/nvm.sh | |
+++ b/nvm.sh | |
@@ -108,7 +108,7 @@ nvm() | |
if ( | |
mkdir -p "$NVM_DIR/src" && \ | |
cd "$NVM_DIR/src" && \ | |
- curl -C - -# "http://nodejs.org/dist/node-$VERSION.tar.gz" -o "node-$VERSION.tar.gz" && \ | |
+ curl -C - --progress-bar "http://nodejs.org/dist/node-$VERSION.tar.gz" -o "node-$VERSION.tar.gz" && \ | |
tar -xzf "node-$VERSION.tar.gz" && \ | |
cd "node-$VERSION" && \ | |
./configure --prefix="$NVM_DIR/$VERSION" && \ | |
-- | |
1.7.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This patch as-is will break the wget fallback when curl isn't installed. I'm working on fixing that. Pull request forthcoming.