summaryrefslogtreecommitdiff
path: root/parser/gapi-parser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'parser/gapi-parser.cs')
-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);
}
}