[msitools] wixl-heat: fix wix close tag when no component groups are specified.



commit 683827dceb5697140283ac32c8b8825ab7422641
Author: Alex Tsay <alex aerofs com>
Date:   Mon Mar 9 17:45:15 2015 -0700

    wixl-heat: fix wix close tag when no component groups are specified.
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=745913 for details.

 tools/wixl/wixl-heat.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/wixl/wixl-heat.vala b/tools/wixl/wixl-heat.vala
index 3be1080..da570f7 100644
--- a/tools/wixl/wixl-heat.vala
+++ b/tools/wixl/wixl-heat.vala
@@ -125,9 +125,9 @@ public int main (string[] args) {
             stdout.printf ("      <ComponentRef Id=\"%s\"/>\n".printf (id));
         stdout.printf ("    </ComponentGroup>\n");
         stdout.printf ("  </Fragment>\n");
-        stdout.printf ("</Wix>\n");
     }
 
+    stdout.printf ("</Wix>\n");
     stdout.printf ("<!-- generated with %s -->\n", Config.PACKAGE_STRING);
     stdout.printf ("<!-- %s -->\n", cmdline.replace ("--", "-"));
     return 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]