diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wixl/wixl-heat.vala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/wixl/wixl-heat.vala b/tools/wixl/wixl-heat.vala index 7aeff92..3be1080 100644 --- a/tools/wixl/wixl-heat.vala +++ b/tools/wixl/wixl-heat.vala @@ -90,8 +90,7 @@ public int main (string[] args) { } } for (; i < path.length; i++) { - last_path += path[i]; - stdout.printf (indent + "<Directory Id=\"%s\" Name=\"%s\">\n".printf (generate_id("dir", 1, string.joinv("/", last_path)), path[i])); + stdout.printf (indent + "<Directory Id=\"%s\" Name=\"%s\">\n".printf (random_id ("dir"), path[i])); indent += " "; } last_path = path; |