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

Commit

Permalink
installer: copy node.d only with node_use_dtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Feb 20, 2014
1 parent a6f89cc commit e0c5302
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ def subdir_files(path, dest, action):
def files(action):
action(['out/Release/node'], 'bin/node')

# install unconditionally, checking if the platform supports dtrace doesn't
# work when cross-compiling and besides, there's at least one linux flavor
# with dtrace support now (oracle's "unbreakable" linux)
action(['out/Release/node.d'], 'lib/dtrace/node.d')
if 'true' == variables.get('node_use_dtrace'):
action(['out/Release/node.d'], 'lib/dtrace/node.d')

if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
action(['doc/node.1'], 'man/man1/')
Expand Down

0 comments on commit e0c5302

Please sign in to comment.