summaryrefslogtreecommitdiff
path: root/tools/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install.py')
-rwxr-xr-xtools/install.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/install.py b/tools/install.py
index 3254eba17e..dda11a1493 100755
--- a/tools/install.py
+++ b/tools/install.py
@@ -108,12 +108,12 @@ def npm_files(action):
if os.environ.get('PORTABLE'):
# This crazy hack is necessary to make the shebang execute the copy
# of node relative to the same directory as the npm script. The precompiled
- # binary tarballs use a prefix of "/" which gets translated to "/bin/iojs"
+ # binary tarballs use a prefix of "/" which gets translated to "/bin/node"
# in the regular shebang modifying logic, which is incorrect since the
# precompiled bundle should be able to be extracted anywhere and "just work"
- shebang = '/bin/sh\n// 2>/dev/null; exec "`dirname "$0"`/iojs" "$0" "$@"'
+ shebang = '/bin/sh\n// 2>/dev/null; exec "`dirname "$0"`/node" "$0" "$@"'
else:
- shebang = os.path.join(node_prefix or '/', 'bin/iojs')
+ shebang = os.path.join(node_prefix or '/', 'bin/node')
update_shebang(link_path, shebang)
else:
assert(0) # unhandled action type
@@ -130,7 +130,7 @@ def files(action):
is_windows = sys.platform == 'win32'
exeext = '.exe' if is_windows else ''
- action(['out/Release/iojs' + exeext], 'bin/iojs' + exeext)
+ action(['out/Release/node' + exeext], 'bin/node' + exeext)
if not is_windows:
# Install iojs -> node compatibility symlink.
@@ -152,9 +152,9 @@ def files(action):
action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
- action(['doc/iojs.1'], 'man/man1/')
+ action(['doc/node.1'], 'man/man1/')
else:
- action(['doc/iojs.1'], 'share/man/man1/')
+ action(['doc/node.1'], 'share/man/man1/')
if 'true' == variables.get('node_install_npm'): npm_files(action)