Commit afc18dcd authored by Marc-André Lureau's avatar Marc-André Lureau

wixl-heat: generate stable dir id

parent ad76cdec
......@@ -88,7 +88,8 @@ public int main (string[] args) {
}
}
for (; i < path.length; i++) {
stdout.printf (indent + "<Directory Id=\"%s\" Name=\"%s\">\n".printf (random_id ("dir"), path[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]));
indent += " ";
}
last_path = path;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment