diff options
Diffstat (limited to 'install.js')
-rw-r--r-- | install.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install.js b/install.js index e136257c5..fc5d21e65 100644 --- a/install.js +++ b/install.js @@ -214,7 +214,8 @@ for (x in installerQuestions) { var thisQuestion = installerQuestions[x]; cmake += ' ' + thisQuestion.cmake_argument(); } -cmake += ' "' + ScriptPath + '"'; +var fixedScriptPath = ScriptPath.replace(/\\/g, '/'); +cmake += ' "' + fixedScriptPath + '"'; WScript.Echo(cmake + "\n"); var shell = WScript.CreateObject('WScript.Shell'); |