mirror of https://github.com/nodejs/node.git
7a9db6cfb1
This "portable" mode rewrites the npm shebang to use the "node" executable in the same directory relative to the "npm" script. This makes the "npm" script "just work" even when "node" is not in the user's $PATH. This mode is necessary for the precompiled binary packages that may potentially be extracted to anywhere. The regular shebang-rewriting logic would normally set the npm script's shebang to "/bin/node" which will not be present on anyone's machine. In the end, we want the precompiled packages to be as user-friendly as possible. |
||
---|---|---|
.. | ||
blog | ||
closure_linter | ||
doc | ||
gyp | ||
msvs | ||
osx-pkg.pmdoc | ||
wafadmin | ||
addon.gypi | ||
build-changelog.sh | ||
changelog-head.sh | ||
cpplint.py | ||
email-footer.md | ||
genv8constants.py | ||
getnodeversion.py | ||
gyp_addon | ||
gyp_node | ||
install.py | ||
js2c.py | ||
license2rtf.js | ||
node-waf | ||
osx-codesign.sh | ||
osx-pkg-postinstall.sh | ||
osx-productsign.sh | ||
run-valgrind.py | ||
test.py | ||
updateAuthors.awk | ||
waf-light |