Permalink
Browse files

corrected node-gyp execution procedure

  • Loading branch information...
1 parent b32bb42 commit 904e0b22f2a24687c859fad0f39b5306aa8e8e9b @einaros einaros committed Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.js
View
@@ -10,7 +10,7 @@ if(build_native) {
process.stdout.write("= =\n");
process.stdout.write("================================================================================\n");
- var gyp = spawn('node-gyp', ['rebuild']);
+ var gyp = exec('node-gyp rebuild', {cwd: __dirname});
gyp.stdout.on('data', function(data) {
process.stdout.write(data);
});

0 comments on commit 904e0b2

Please sign in to comment.