From 39dec3f59e912b3a7451f2353319e9473100dec0 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 10 Jan 2013 17:52:05 +0100 Subject: wixl: lookup source files using Source attributes if provided --- tools/wixl/builder.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/wixl') diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala index 9a25737..2bc7122 100644 --- a/tools/wixl/builder.vala +++ b/tools/wixl/builder.vala @@ -513,9 +513,10 @@ namespace Wixl { else if (file.Source != null) name = Path.get_basename (file.Source); + var source = file.Source ?? name; var comp = file.parent as WixComponent; FileInfo info; - file.file = find_file (name, out info); + file.file = find_file (source, out info); var attr = FileAttribute.VITAL; var rec = db.table_file.add (file.Id, comp.Id, name, (int)info.get_size (), attr); -- cgit