changeset 42053:429bed755ce1

wix: fix the package build when not adding features Should have used ifdef, not if. Sigh. Differential Revision: https://phab.mercurial-scm.org/D6187
author Augie Fackler <augie@google.com>
date Tue, 02 Apr 2019 23:38:54 -0400
parents 15d2afa31e57
children 399ed3e86a49
files contrib/packaging/wix/mercurial.wxs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/wix/mercurial.wxs	Mon Apr 01 19:02:24 2019 -0700
+++ b/contrib/packaging/wix/mercurial.wxs	Tue Apr 02 23:38:54 2019 -0400
@@ -129,7 +129,7 @@
         <MergeRef Id='VCRuntime' />
         <MergeRef Id='VCRuntimePolicy' />
       </Feature>
-      <?if $(var.MercurialExtraFeatures)?>
+      <?ifdef MercurialExtraFeatures?>
         <?foreach EXTRAFEAT in $(var.MercurialExtraFeatures)?>
           <FeatureRef Id="$(var.EXTRAFEAT)" />
         <?endforeach?>