Skip to content

Commit

Permalink
Merge pull request #52 from vincentbernat/fix/npmjs-redirect
Browse files Browse the repository at this point in the history
fixed npm.js redirect
  • Loading branch information
ekalinin committed Feb 18, 2014
2 parents ccf3a4b + 51b0f17 commit 24a5432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,10 @@ def install_npm(env_dir, src_dir, opt):
logger.info(' * Install npm.js (%s) ... ' % opt.npm,
extra=dict(continued=True))
cmd = [
'. %s && curl --silent %s | '
'. %s && curl --location --silent %s | '
'clean=%s npm_install=%s bash && deactivate_node' % (
pipes.quote(join(env_dir, 'bin', 'activate')),
'https://npmjs.org/install.sh',
'https://www.npmjs.org/install.sh',
'no' if opt.no_npm_clean else 'yes',
opt.npm
)
Expand Down

0 comments on commit 24a5432

Please sign in to comment.