Skip to content

Commit ee99948

Browse files
committed
Attempt to pass libssh on Windows
1 parent f9486e9 commit ee99948

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

install.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ var dependencies = Q.allSettled([
154154
// Write out a sha file for testing in the future.
155155
return Q.ninvoke(fs, "writeFile", paths.libssh2 + pkg.libssh2.version, "");
156156
}).then(function() {
157-
return Q.nfcall(exec, "cd " + paths.libssh2 + " ; " + paths.libssh2 + "configure");
157+
// Only run the configuration script in a BSD-like environment.
158+
if (process.platform !== "win32") {
159+
return Q.nfcall(exec, "cd " + paths.libssh2 + " ; " + paths.libssh2 + "configure");
160+
}
158161
});
159162
})
160163

0 commit comments

Comments
 (0)