Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2009-05-02 19:30:28 +0400
committerMiguel de Icaza <miguel@gnome.org>2009-05-02 19:30:28 +0400
commit7aedd3b0cf715aee9141877be8bf5506e438b92d (patch)
tree9cd25b1f74996c322ca20c544cd26cd6f8a63f63 /msvc/scripts/prepare.cs
parent69fa7e57bbd9850d140263763a598d9b2802048f (diff)
This now builds System.Xml-basic
svn path=/trunk/mono/; revision=133390
Diffstat (limited to 'msvc/scripts/prepare.cs')
-rw-r--r--msvc/scripts/prepare.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/msvc/scripts/prepare.cs b/msvc/scripts/prepare.cs
index 2e43b85b62e..3dc3b3cd47a 100644
--- a/msvc/scripts/prepare.cs
+++ b/msvc/scripts/prepare.cs
@@ -22,6 +22,11 @@ class Prepare {
{
string bdir = args.Length == 0 ? "../../../mcs" : args [0];
+ if (!Directory.Exists (Path.Combine(bdir, "class"))){
+ Console.Error.WriteLine ("The directory {0} does not contain class at {1}", Path.GetFullPath (bdir), Environment.CurrentDirectory);
+ Environment.Exit (1);
+ }
+
Filter (bdir + "/class/System.XML/System.Xml.XPath/Parser.jay",
bdir + "/class/System.XML/Mono.Xml.Xsl/PatternParser.jay",
(i, o) => o.Write (i.ReadToEnd ().Replace ("%start Expr", "%start Pattern")));