Created
January 29, 2015 05:07
-
-
Save bcomnes/c78bd92ab7b9fa89863f 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
diff --git a/node_modules/node-gyp/lib/install.js b/node_modules/node-gyp/lib/install.js | |
index 6f72e6a..ebc4e57 100644 | |
--- a/node_modules/node-gyp/lib/install.js | |
+++ b/node_modules/node-gyp/lib/install.js | |
@@ -39,7 +39,7 @@ function install (gyp, argv, callback) { | |
} | |
} | |
- var distUrl = gyp.opts['dist-url'] || gyp.opts.disturl || 'http://nodejs.org/dist' | |
+ var distUrl = gyp.opts['dist-url'] || gyp.opts.disturl || 'https://iojs.org/dist' | |
// Determine which node dev files version we are installing | |
@@ -185,7 +185,7 @@ function install (gyp, argv, callback) { | |
// now download the node tarball | |
var tarPath = gyp.opts['tarball'] | |
- var tarballUrl = tarPath ? tarPath : distUrl + '/v' + version + '/node-v' + version + '.tar.gz' | |
+ var tarballUrl = tarPath ? tarPath : distUrl + '/v' + version + '/iojs-v' + version + '.tar.gz' | |
, badDownload = false | |
, extractCount = 0 | |
, gunzip = zlib.createGunzip() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment