Skip to content

Commit

Permalink
Merge pull request #20 from Acconut/master
Browse files Browse the repository at this point in the history
Always use x86 path
  • Loading branch information
janl committed May 18, 2014
2 parents 52480a3 + c0d2d34 commit b40899d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multicouch.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function MultiCouch(args) {
var prefix = args.prefix || (process.platform === "win32" ? process.env["TEMP"] : "/tmp");
var win_ini, win_bin;
if (process.platform === "win32") {
win_bin = process.arch == "x86" ? 'C:\\Program Files (x86)\\Apache Software Foundation\\CouchDB\\bin\\erl.exe' : 'C:\\Program Files\\Apache Software Foundation\\CouchDB\\bin\\erl.exe';
win_bin = 'C:\\Program Files (x86)\\Apache Software Foundation\\CouchDB\\bin\\erl.exe';
if(!fs.existsSync(win_bin)) win_bin = undefined;
}

Expand Down

0 comments on commit b40899d

Please sign in to comment.