diff options
author | Basil <basil@miranda-ng.org> | 2013-03-21 12:53:40 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-03-21 12:53:40 +0000 |
commit | a14bda8a0ffd7324e2075ff6014d6fea46a2656b (patch) | |
tree | 3b6fe1f9f656f57fcf8bb29ad8bdf99658a6cde5 /tools | |
parent | bbdf1b92a7e1d1588bb3d4fd487004b5d97e3efb (diff) |
path to sln file moved to vars.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lpgen/lpgen.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index 0f59a90e83..2518400bf7 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -41,6 +41,8 @@ var scriptpath=FSO.GetParentFolderName(WScript.ScriptFullName); var trunk=FSO.GetFolder(FSO.GetParentFolderName(FSO.GetParentFolderName(scriptpath)));
//text string for make path output into templates.
var trunkPath=new String(trunk);
+//path to sln file
+var slnfile=trunk+"\\bin10\\mir_full.sln"
//core path
var core=FSO.BuildPath(trunk,"src");
//langpack folder "\langpacks\english\" in trunk folder
@@ -96,7 +98,7 @@ GenerateCore(); //Init array with files path
project_files=new Array;
//open mir_full.sln
-sln_stream=FSO.GetFile(trunk+"\\bin10\\mir_full.sln").OpenAsTextStream(ForReading, TristateUseDefault);
+sln_stream=FSO.GetFile(slnfile).OpenAsTextStream(ForReading, TristateUseDefault);
//Reading line-by-line
while (!sln_stream.AtEndOfStream) {
//Init regexp array for our sln parse logic
|