chrisa/node-dtrace-provider — pull request #24 by trentm (2012-11-01 20:10:51+00:00)
Title: Fix node-arch sniffing for node 0.6 and to use the correct node.

- Use npm_config_prefix to use the node invoking this npm
- node < 0.8 doesn't have 'process.config'

Hi Chris,

Without this patch the "ARCH=" sniffing would blow up with node 0.6, resulting in a fallback to 'isainfo -k' arch... which in my case was 64-bit when the relevant node build was 32-bit -> boom.