summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-01-13 23:22:49 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-23 23:23:06 +0100
commit82227f35110dcefa5a02e068a78dc3eb4aa0d3bc (patch)
treeb8f2b163b6ea9f90df324948628cb6b4a3923641 /deps/npm/node_modules
parentf5b35dbda45c466eda888a4451591c66e8671faf (diff)
downloadnode-new-82227f35110dcefa5a02e068a78dc3eb4aa0d3bc.tar.gz
deps: make node-gyp fetch tarballs from iojs.org
Apply a small patch that makes node-gyp fetch the tarballs from https://iojs.org/ instead of http://nodejs.org/ A patch better suited for inclusion upstream will be put together shortly. PR-URL: https://github.com/iojs/io.js/pull/343 Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/npm/node_modules')
-rw-r--r--deps/npm/node_modules/node-gyp/lib/install.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/node_modules/node-gyp/lib/install.js b/deps/npm/node_modules/node-gyp/lib/install.js
index 6f72e6a93d..ebc4e571a4 100644
--- a/deps/npm/node_modules/node-gyp/lib/install.js
+++ b/deps/npm/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()