vala r962 - in trunk: . compiler
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r962 - in trunk: . compiler
- Date: Mon, 4 Feb 2008 21:49:11 +0000 (GMT)
Author: juergbi
Date: Mon Feb 4 21:49:11 2008
New Revision: 962
URL: http://svn.gnome.org/viewvc/vala?rev=962&view=rev
Log:
2008-02-04 Juerg Billeter <j bitron ch>
* compiler/valacompiler.vala: fix .vapi location without -d option
Modified:
trunk/ChangeLog
trunk/compiler/valacompiler.vala
Modified: trunk/compiler/valacompiler.vala
==============================================================================
--- trunk/compiler/valacompiler.vala (original)
+++ trunk/compiler/valacompiler.vala Mon Feb 4 21:49:11 2008
@@ -262,9 +262,12 @@
if (library != null) {
var interface_writer = new InterfaceWriter ();
string vapi_filename = "%s.vapi".printf (library);
- if (context.directory != null) {
+
+ // put .vapi file in current directory unless -d has been explicitly specified
+ if (directory != null) {
vapi_filename = "%s/%s".printf (context.directory, vapi_filename);
}
+
interface_writer.write_file (context, vapi_filename);
library = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]