From 41db587bae5a6c4cbc8f40a52bf2d6f25416653f Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 3 Nov 2014 22:56:36 +0100 Subject: Revert "wixl-heat: generate stable dir id" This reverts commit afc18dcd98d5a67d21ef237c25221a71b01df1b2. Stable dir id will conflict with different libraries/components, it's a bad idea. --- tools/wixl/wixl-heat.vala | 3 +-- 1 file changed, 1 insertion(+), 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 + "\n".printf (generate_id("dir", 1, string.joinv("/", last_path)), path[i])); + stdout.printf (indent + "\n".printf (random_id ("dir"), path[i])); indent += " "; } last_path = path; -- cgit