Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix building when a space is in the path
  • Loading branch information
thornbill committed Feb 3, 2015
commit 0506f4d619026c9410f4eb9e4ef28986716f0707
1 change: 1 addition & 0 deletions lifecycleScripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function build() {
}

builder = path.resolve(".", "node_modules", ".bin", builder);
builder = builder.replace(/\s/g, "\\$&");
var cmd = [prefix, builder, "rebuild", target, debug, distUrl]
.join(" ").trim();

Expand Down
2 changes: 1 addition & 1 deletion lifecycleScripts/retrieveExternalDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function getVendorLib(name) {
if ((name == "libssh2") && (process.platform !== "win32")) {
return new Promise(function(resolve, reject) {
console.info("[nodegit] Configuring libssh2.");
cp.exec(
cp.execFile(
rooted(vendorPath) + "configure",
{cwd: rooted(vendorPath)},
function(err, stdout, stderr) {
Expand Down