Skip to content

Commit

Permalink
Specify cwd for build deps reinstallation
Browse files Browse the repository at this point in the history
  • Loading branch information
louischatriot committed Jul 15, 2013
1 parent 92228e2 commit 6e60914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser-version/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ensureDirExists('src');

// Installing build dependencies and require them
console.log("Installing build dependencies");
child_process.exec('npm install fs-extra async uglify-js browserify', function (err, stdout, stderr) {
child_process.exec('npm install fs-extra async uglify-js browserify', { cwd: __dirname }, function (err, stdout, stderr) {
if (err) { console.log("Error reinstalling dependencies"); process.exit(1); }

fs = require('fs-extra');
Expand Down

0 comments on commit 6e60914

Please sign in to comment.