summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-28 14:15:55 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-28 14:15:55 +0200
commitc49b48e9feb53b9423c613f7188188a41f92201c (patch)
tree9f0673cdadd61c6b00071181a01fba7080d961fb
parentc77fa39ad10061f411479a9b4677d2dcabc92b18 (diff)
Fix uninstalled parser execution
-rw-r--r--parser/gapi-parser.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser/gapi-parser.cs b/parser/gapi-parser.cs
index 56ba5c5..8fc1387 100644
--- a/parser/gapi-parser.cs
+++ b/parser/gapi-parser.cs
@@ -152,7 +152,8 @@ namespace GtkSharp.Parsing {
string[] filenames = (string[]) realfiles.ToArray (typeof (string));
string pp_args = String.Join (" ", filenames);
- system ("gapi_pp.pl " + pp_args + " | gapi2xml.pl " + ns + " " + prefile + " " + lib);
+ string path = Path.GetDirectoryName (System.Reflection.Assembly.GetCallingAssembly ().Location);
+ system (path + "/gapi_pp.pl " + pp_args + " | " + path + "/gapi2xml.pl " + ns + " " + prefile + " " + lib);
}
}