diff options
author | Adam <Adam@anope.org> | 2010-06-27 20:34:09 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-27 20:34:09 -0400 |
commit | f17c4d4d04bc695cad75a277bb7ecf1afdef1efe (patch) | |
tree | 8f8b144c86dcacdc7644c3daeeac252ab447f306 /install.js | |
parent | 0eb007a1b3b422a1a60b671c155cec3e496c0430 (diff) |
Made Windows install.js correctly detect the Anope version and made version.cpp correctly generate version.h on Windows
Diffstat (limited to 'install.js')
-rw-r--r-- | install.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.js b/install.js index c8d918f78..29ac86045 100644 --- a/install.js +++ b/install.js @@ -258,13 +258,13 @@ else // Functions function FindAnopeVersion() { - if (!fso.FileExists(ScriptPath + 'src\\version')) + if (!fso.FileExists(ScriptPath + 'src\\version.sh')) { anopeVersion = 'Unknown'; return; } - var versionLog = fso.OpenTextFile(ScriptPath + 'src\\version'); + var versionLog = fso.OpenTextFile(ScriptPath + 'src\\version.sh'); while (!versionLog.atEndOfStream) { var versionLine = versionLog.readline(); |