Updated Build.cs to use Path.Combine (fixes issues under linux). Fixed

Prebuild.xml to correctly reference text files. Tested under linux.
This commit is contained in:
the_fiddler 2007-06-30 07:14:34 +00:00
parent f96aafdf75
commit c516340dea
3 changed files with 7 additions and 7 deletions

Binary file not shown.

View file

@ -22,11 +22,11 @@
</Configuration>
<Files>
<File>.\Todo.txt</File>
<File>.\Release.txt</File>
<File>.\Changelog.txt</File>
<File>.\License.txt</File>
<File>.\Instructions.txt</File>
<File>Todo.txt</File>
<File>Release.txt</File>
<File>Changelog.txt</File>
<File>License.txt</File>
<File>Instructions.txt</File>
</Files>
<Project name="Build" path=".\Source\Build" language="C#" type="Exe">
@ -314,4 +314,4 @@
</Solution>
</Prebuild>
</Prebuild>

View file

@ -10,7 +10,7 @@ namespace OpenTK.Build
{
static string RootPath;
static string ToolPath = "Build\\";
static string PrebuildPath = ToolPath + "Prebuild.exe";
static string PrebuildPath = Path.Combine(ToolPath, "Prebuild.exe");
static string BinPath = "Binaries\\";
//string ObjPath