diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 12:00:47 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 12:00:47 +0000 |
commit | e7a6661baa7ff8bffce9e18a45d5ea4a521347e1 (patch) | |
tree | ac7a9c4a63c39b29adb5bd96002bae50d23ce242 /install.js | |
parent | 018f1a50b28a91398b278f4ab4de1d3a365250a2 (diff) |
Do not pack the build directory into the tarballs from now on, also fix subtle error in install.js for Windows when the last characters of the script's path is a backslash.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1972 5417fbe8-f217-4b02-8779-1006273d7864
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'); |