Skip to content

Commit 8398bad

Browse files
author
John Haley
committed
Added " around python path to help fix issues with spaces in path
1 parent f286aaa commit 8398bad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var dependencies = Q.allSettled([
208208
// Build the native module using node-gyp.
209209
.then(function() {
210210
console.info("[nodegit] Building native node module.");
211-
var pythonFlag = " --python " + python;
211+
var pythonFlag = " --python \"" + python + "\"";
212212

213213
return Q.nfcall(exec, systemPath([
214214
".", "node_modules", ".bin", "node-gyp clean configure build" + pythonFlag

0 commit comments

Comments
 (0)