We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f386ab9 commit 4df78f5Copy full SHA for 4df78f5
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