diff options
author | Miguel de Icaza <miguel@gnome.org> | 2009-05-02 19:30:28 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2009-05-02 19:30:28 +0400 |
commit | 7aedd3b0cf715aee9141877be8bf5506e438b92d (patch) | |
tree | 9cd25b1f74996c322ca20c544cd26cd6f8a63f63 /msvc/scripts/prepare.cs | |
parent | 69fa7e57bbd9850d140263763a598d9b2802048f (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.cs | 5 |
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"))); |