We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b539c6a + 4df78f5 commit 19225efCopy full SHA for 19225ef
1 file changed
lifecycleScripts/configureLibssh2.js
@@ -1,6 +1,10 @@
1
var cp = require("child_process");
2
var path = require("path");
3
-var rooted = path.join.bind(path, __dirname, "..");
+var rooted = function (dir) {
4
+ var fullPath = path.join(__dirname, "..", dir);
5
+ var escapedPathForShell = fullPath.replace(/ /g, "\\ ");
6
+ return escapedPathForShell;
7
+};
8
9
module.exports = function retrieveExternalDependencies() {
10
if (process.platform === "win32") {
0 commit comments