summaryrefslogtreecommitdiffstats
path: root/tools/wixl/builder.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wixl/builder.vala')
-rw-r--r--tools/wixl/builder.vala3
1 files changed, 2 insertions, 1 deletions
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);