Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

issue #2697: have 'make install' set npm shebang to use its node#2886

Closed
trentm wants to merge 1 commit intonodejs:masterfrom
trentm:issue-2697
Closed

issue #2697: have 'make install' set npm shebang to use its node#2886
trentm wants to merge 1 commit intonodejs:masterfrom
trentm:issue-2697

Conversation

@trentm
Copy link

@trentm trentm commented Mar 7, 2012

As discussed on the ticket.

The end of 'make install' looks like this (where my prefix is /Users/trentm/opt/node-master):

...
cp -rf tools/node-waf /Users/trentm/opt/node-master/bin/node-waf
mkdir -p /Users/trentm/opt/node-master/lib/node_modules/
cp -rf deps/npm /Users/trentm/opt/node-master/lib/node_modules/npm
ln -sf ../lib/node_modules/npm/bin/npm-cli.js /Users/trentm/opt/node-master/bin/npm
shebang #!/Users/trentm/opt/node-master/bin/node /Users/trentm/opt/node-master/lib/node_modules/npm/bin/npm-cli.js

@isaacs
Copy link

isaacs commented May 5, 2012

Landed way back on 1cdadb1. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants